atsphinx-highlightjs¶
Overview¶
Sphinx uses Pygments to hilight code syntax.
This extension overrides behavior of highlighting of code for using highlight.js.
Installation¶
You can install from PyPI.
pip install atsphinx-highlightjs
Usage¶
Basic usage¶
When you set extension into your conf.py
of documentation,
builder changes behaviors of code highlightings.
extensions = [
"atsphinx.highlightjs",
]
Please see HTML source, this includes only <pre><code>
element only
(if using Pygments, it renders parts of contents).
Configuration¶
Note
Not yet exists.