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


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

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page