pandoc-latex-margin is a pandoc filter for changing margin size to
CodeBlock
and Div
that have speficied classes or latex-left-margin
and latex-right-margin
attributes.
pandoc-latex-margin requires python, a programming language that comes pre-installed on linux and Mac OS X, and which is easily installed on Windows.
Install pandoc-latex-margin using the bash command
$ pipx install pandoc-latex-margin
To upgrade to the most recent release, use
$ pipx upgrade pandoc-latex-margin
pipx
is a script to install and run python applications in isolated environments from the Python Package Index, PyPI. It can be installed using instructions given here.
If you have any difficulties with pandoc-latex-margin, please feel welcome to file an issue on github so that we can help.
Install hatch
, then run
$ hatch run pip install pre-commit
$ hatch run pre-commit install
to install pre-commit
before working on your changes.
When your changes are ready, run
$ hatch test
$ hatch fmt --check
$ hatch run lint:check
$ hatch run docs:build
$ hatch build -t wheel
for running the tests, checking the style, building the documentation and building the wheel.