Skip to main content

Sphinx extension to monkeypatch docutils with a codefence parser

Project description

This is a single-module sphinx extension that monkey-patches docutils adding the ability to parse code fences. For example, the following code fence is rendered as a block of python code:

~~~py
def hello_codefence():
  print("I am in a codefence!")
~~~

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sphinx-codefence, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size sphinx_codefence-0.1.0-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sphinx-codefence-0.1.0.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page