Introduction
GemBook renders Markdown content into a website and generates pages based on the directory structure.
GemBook is a document site generation tool created for Gem. It is also written using Gem. It has a symbiotic relationship with Gem. It uses the custom element <gem-book> render content.
Getting Started
You can try it online directly at StackBlitz.
WARNING
GemBook depends on Node.js v18+, please ensure that the
node -vcommand can be executed
More
Use <gem-book>
<gem-book>The above command uses webpack to package a complete front-end project, but you can also use the <gem-book> element directly in HTML.
Then use <gem-book> in your project:
You can use the <gem-book> element in any framework.
Goal
- Build documentation into front-end projects
- Provide a command line to parse the directory into a
<gem-book>configuration file - Provide
<gem-book>for front-end projects - Provide API for users to extend