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:

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.

Source Distribution

sphinx-codefence-0.1.0.tar.gz (3.7 kB view hashes)

Uploaded source

Built Distribution

sphinx_codefence-0.1.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page