GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Python-Markdown/markdown
  • Home
  • Usage
  • Playground
  • Development
  • About
  • Library Reference
  • Command Line
  • Sanitization and Security
  • Extensions
  • Abbreviations
  • Admonition
  • Attribute Lists
  • CodeHilite

This view

  • Original page
  • New address

GeezerVison is showing python-markdown.github.io — Playground - Python-Markdown

Playground

Editor (session: playground) Run
import markdown
from markdown.extensions.toc import TocExtension

source = '''
# Heading

A paragraph of **Markdown** text.
'''
html = markdown.markdown(source, extensions=[TocExtension(permalink=True)])
print(html)
Output Clear

Feel free to edit the Python code above. You may use and configure any of the built-in extensions, as well as any of the PyMdown Extensions.

To run the code, click the Run button in the top-right corner or, if the editor is active (cursor is blinking), you may press Ctrl+Enter on your keyboard.

This interactive Python editor is made possible by Pyodide, Ace and Highlight.js.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.