Markdown-拓展 Docsify 主题美化
docsify-themeable - A delightfully simple theme system for docsify.js
https://jhildenbiddle.github.io/docsify-themeable/#/
Quick Start
Installation
- Create a docsify site by following the instructions on the docsify.js website.
-
Select a theme from the Themes section and replace the
<link>
in yourindex.html
.1
2<!-- Theme: Simple (latest v0.x.x) -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple.css"> -
Add the docsify-themeable plugin to your
index.html
after docsify:
1 | <!-- docsify-themeable (latest v0.x.x) --> |
- Review the Options section and configure as needed. For example:
1 | <script> |
- Review the Customization section and set theme properties as needed. For example:
1 | <style> |
Local Preview
Previewing your site locally requires serving your files from a web server.
The docsify Quick Start guide recommends docsify-cli for creating and previewing your site:
1 | # Install docsify-cli globally |
A simple Python web server can also be used:
1 | # Change to site directory |
Hosting
Sites powered by docsify.js can be hosted on any web server. The docsify website provides a helpful deployment guide with tips for hosting your site on following platforms:
主题推荐
docsify-share 使用的主题
https://coroo.github.io/docsify-share/#/
1 | <!-- docsify-themeable styles--> |