Skip to content

RussellZZ/sphinx-markdown-checkbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sphinx-markdown-checkbox

Inspired by sphinx-markdown-tables, this project renders markdown checkboxes as HTML using pycmarkgfm, because Recommonmark does not support markdown checkboxes.

Installation

pip install sphinx-markdown-checkbox

Usage

If you have installed recommonmark

Add sphinx_markdown_checkbox to extensions in conf.py, like so:

extensions = [
    'sphinx_markdown_checkbox',
]

Otherwise

Sphinx needs to be configured to use markdown. First, you need recommonmark:

pip install recommonmark

In conf.py, configure source_parsers and source_suffix:

source_parsers = {
    '.md': 'recommonmark.parser.CommonMarkParser',
}

source_suffix = ['.rst', '.md']

Once Sphinx is configured appropriately, add sphinx_markdown_checkbox to extensions, like so:

extensions = [
    'sphinx_markdown_checkbox',
]

For more information on Sphinx and markdown, see the Sphinx documentation.

License

This project is available under the GPLv3 license.

About

A Markdown checkboxes plugin for Sphinx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages