Posts

Showing posts with the label markdown

How to turn gitbook markdown files into html files with one js file

1. Under your markdown folder, create index.html with the help with docsify.js ``` <!-- index.html --> <!DOCTYPE html> <html>   <head>     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />     <meta name="viewport" content="width=device-width,initial-scale=1" />     <meta charset="UTF-8" />     <link       rel="stylesheet"       href="//cdn.jsdelivr.net/npm/docsify@4/themes/vue.css"     />   </head>   <body>     <div id="app"></div>     <script>       window.$docsify = {         loadSidebar: 'SUMMARY.md'       };     </script>     <script src="//cdn.jsdelivr.net/npm/docsify@4"></script>   <...