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.

Source Distribution

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file sphinx-codefence-0.1.0.tar.gz.

File metadata

  • Download URL: sphinx-codefence-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

File hashes

Hashes for sphinx-codefence-0.1.0.tar.gz
Algorithm Hash digest
SHA256 27f5a55042fd511093b715638cadbd76883dbe43739c7bcb3ce7332c645f324f
MD5 4fc6b7d912679d730dee18d731f81b13
BLAKE2b-256 bdd085560ff6b23e51039be6af374d84809012871ba86d613bfea34992d5a754

See more details on using hashes here.

File details

Details for the file sphinx_codefence-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sphinx_codefence-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

File hashes

Hashes for sphinx_codefence-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69916068fb2c36bf2eeeb13d249f5ddd5a8f74bb165adeb210b89eb6f23ede55
MD5 3f51cbf5a2d0d606727360f6145e249d
BLAKE2b-256 6f83d07ad49fefc1a2d6118fba22e7444177fe8109b9be19851a1530e756011b

See more details on using hashes here.

Supported by

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