Installation

Installation

Package Managers

The extension can be easily installed via pip:

pip install sphinx_parsed_codeblock

or via other package managers that can install from PyPI, e.g.:

uv install sphinx_parsed_codeblock

Manual Install

Alternatively, it can also be installed from GitHub:

pip install https://github.com/RastislavTuranyi/sphinx_parsed_codeblock

or from a local copy:

git clone https://github.com/RastislavTuranyi/sphinx_parsed_codeblock.git
pip install ./sphinx_parsed_codeblock

Enabling Extension

Before the extension can be used, it has to be added to the list of used extensions inside conf.py:

extensions = ['sphinx_parsed_codeblock']