Skip to main content

mistlefoot

Installation

pip install mistlefoot

Features

  • Subscript & Superscript: H~2~O and E=mc^2^
  • Highlighting: ==marked text==
  • Strikethrough: ~~deleted text~~
  • Emojis: :smile: :rocket: :heart: (50+ supported)
  • Auto-linking: URLs automatically become clickable links
  • Footnotes: Reference[^1] with definitions
  • Task lists: GitHub-style checkboxes
  • Heading attributes: Add IDs, classes, and custom attributes to headings

Usage

from IPython.display import HTML,Markdown,display
from mistletoe import markdown
markdown('**aa**', ExtendedHtmlRenderer)
'<p><strong>aa</strong></p>\n'
def render_md(md): return HTML(markdown(md, ExtendedHtmlRenderer))
def  print_md(md):       print(markdown(md, ExtendedHtmlRenderer))
markdown_text = """
#### My Document {#intro .important}

This is **H~2~O** and ==highlighted text==.

Check out https://fast.ai :rocket:

- [x] Done
- [ ] Todo
"""

render_md(markdown_text)

My Document

This is H2O and highlighted text.

Check out https://fast.ai 🚀

  • Done
  • Todo

Examples

Scientific notation:

render_md("H~2~O and E=mc^2^")

H2O and E=mc2

Emojis:

render_md("Great work! :tada: :100:")

Great work! 🎉 💯

Footnotes:

render_md("""Here's a claim[^1].

[^1]: This is the supporting reference.""")

Here's a claim[1].

1 This is the supporting reference.

Heading attributes:

print_md('#### Section {#my-id .important data-level=\"1\"}')
<h4 id="my-id" class="important" data-level="1">Section</h4>

Contributing

By Jeremy Howard. Copyright ©️ fast.ai 2026 onwards. Contributions welcome.

Release files for mistlefoot 0.0.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mistlefoot 0.0.13
File Size Uploaded
mistlefoot-0.0.13.tar.gz 12.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mistlefoot 0.0.13
File Interpreter ABI Platform
mistlefoot-0.0.13-py3-none-any.whl Python 3 none any Details

Total release size: 24.0 kB

Release files / mistlefoot-0.0.13.tar.gz

Download URL mistlefoot-0.0.13.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cf7011a42455e2e2ec7d80985600269cc96947fac678212b19b3c3601ea0d6d1
BLAKE2b-256 checksum
How to use checksums
f54f13fc5dc97d14ab416feab68c6a1d2bdddc848b28e3d4e202f47cf587da34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / mistlefoot-0.0.13-py3-none-any.whl

Download URL mistlefoot-0.0.13-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
823f991acd78dcfc49e3c00fad1b7b7947d3dca2d66b336ec3c0055c8e045d91
BLAKE2b-256 checksum
How to use checksums
e5f7c12d4b23d8f1168032a5ce6f05e07e7283e839e670afc11878e669c40dd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.0.13 This release

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page