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:
2017-03-22 20:07:55 +11:00
parent 74f41ac28e
commit 06bb8b8ed0
5 changed files with 36 additions and 5 deletions
+2 -1
View File
@@ -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"
}
}