mdBook
| mdbook-cmdrun
| | |
| Create a journal with mdbook-journal
| | |
| Check links with mdbook-linkcheck
| | |
| mdbook-pagetoc
| | |
| Hide entire chapters with mdbook-private
| | |
| Hide pages with mdbook-hide
| | |
| Create pages from a template with mdbook-tera
| | |
| mdbook-theme
| | |
| mdbook-toc
| | |
| Test code in your mdbook
| Byron-termbook | |
| Replace text in chapters with yapp
| | |
Write online books with mdBook
mdBook⮳ is a utility to create modern online books from Markdown files.
cargo install mdbook
mdbook serve --open
Let readers execute your sample code in the Rust playground
Augment mdbook
with plugins
mdbook
has a large number of third-party plugins⮳.
Check links with mdbook-linkcheck
mdbook-linkcheck
is a backend for mdbook
which will check your links for you.
Hide entire chapters with mdbook-private
An mdbook preprocessor that controls visibility of private chapters and sections within them
Hide pages with mdbook-hide
A preprocessor for mdbook that adds support for hidden chapters
cargo install mdbook-hide
Deploy your book or documentation in a CD / CI pipeline
GitHub Actions is a continuous integration and continuous delivery (CI/CD) platform that allows you to automate your build, test, and deployment pipeline.
GitHub Actions for mdBook allows you to build your site with mdbook
. Linux (Ubuntu), macOS, and Windows are supported.
name: github pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: '0.4.10'
# mdbook-version: 'latest'
- run: mdbook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book
Test code in your mdbook
Byron-termbook is a runner for mdbook
s to keep your documentation tested:
Add a table of contents to each page
mdbook-toc
A preprocessor for mdbook to add inline Table of Contents support.
mdbook-theme
A preprocessor and a backend to config theme for mdbook, especially creating a pagetoc on the right and setting full color themes from the offical ace editor.
mdbook-pagetoc
A mdbook plugin that provides a table of contents for each page.
Create pages from a template
Create pages from a template with mdbook-tera
mdbook-tera
is a Tera preprocessor for mdBook.
Replace text in chapters with yapp
yapp
is a mdbook preprocessor that simply replaces text in chapters. Phrases to be replaced with specified content are defined in plain-text configuration file.
Create a journal with mdbook-journal
Journal plugin for mdBook.
Other
mdbook-cmdrun
A mdbook
preprocessor to run arbitrary commands.