Socket
Socket
Sign inDemoInstall

sphinx-markdown-checkbox

Package Overview
Dependencies
2
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sphinx-markdown-checkbox

A Sphinx extension for rendering checkboxes written in markdown


Maintainers
1

Readme

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.

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc