Sphinx ABC Notation
This extension adds an abc
directive to Sphinx. The content of the directive
will be rendered to SVG by abcm2ps and
included in the rendered document.
Usage
Here are 12 notes on a staff.
.. abc::
X:1
L:1/4
K:C
A, ^A, B, C ^C D ^D E F ^F G ^G
w: a a♯ b c c♯ d d♯ e f f♯ g g♯
Here are 12 notes on a staff.
Install
-
pip install sphinx_abcnotation --user
-
Edit
conf.py
to includesphinx_abcnotation
in theextensions
list:extensions = ['sphinx_abcnotation']
-
Use the
.. abc ::
directive in your reStructuredText documents.