use docsify as markdown engine, get markdown link from queryparam and render
npm install docsify-to-queryparam-markdown-engineUse docsify as markdown engine, get markdown link from queryparam and render
``html`
2. Insert script into docsify document:
`html`
> https://retrocode.io/#/?custom=1&mdurl=https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@master/README.md
It will be replaced by the raw text of the mdurl above into your doc file content.
If queryparam has 'custom=1' then will all 'hideClassName' elements style to 'display:none'
By default, we set the hideClassName as ['cover','sidebar','sidebar-toggle','github-corner'] for you.
However, you can change this options as you like:
`javascript``
window.$docsify = {
queryParamMarkdownEngine: {
hideClassName: ['classname'],
},
}
This project is licensed under the MIT license.
Copyright (c) ShowMeBaby (retrocode@qq.com)