Hid TOC on desktops & tablets, read more
* I switched the markdown engine to markdown-it. * I used a plugin from the new engine called markdown-it-container to generate a div tag around the TOC * Configured the plugin to generate the classname mobileOnly * Recreated semantic's mobile only option using CSS.
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"markdown": "^0.5.0",
|
||||
"markdown-it": "^8.3.1",
|
||||
"markdown-it-container": "^2.0.0",
|
||||
"markdown-toc": "^1.1.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user