Skip to content

dookbook/python-markdown-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Python Markdown Extensions

A collection of the Python-Markdown library's extensions.

For more details see Dookbook - Markdown Syntax.

Usage

import markdown

md = markdown.markdown('text', extensions=['abbr'])

Builtin Extensions

Extension Extension Name Priority
AbbrExtension abbr 16
AdmonitionExtension admonition 105
AttrListExtension attr_list 8
CodeHiliteExtension hilite 30
DefListExtension defindent, deflist 85, 25
FencedCodeExtension fenced_code_block 25
FootnoteExtension footnote 17
MetaExtension meta 27
Nl2BrExtension nl 5
TableExtension table 75
TocExtension toc 5
WikiLinkExtension wikilink 75
SaneListExtension olist, ulist 40, 30
MarkdownInHtmlExtension html_block, raw_html, markdown_block 20, 30, 105
SmartyExtension smarty 2

Extensions

Extension Extension Name Priority
DelInsExtension del, ins 10, 11
SubscriptExtension sub 9
SuperscriptExtension sup 9
KeyboardInputExtension kbd 9
FigCapExtension fig_cap 7, 95, 95.1

Syntax

DelInsExtension

This is ++added content++ and this is ~~deleted content~~

SubscriptExtension

The molecular composition of water is H~2~O.

SuperscriptExtension

2^10^ is 1024.

For more details see Dookbook - Markdown Syntax.

License

Under the BSD 3-Clause License.

About

Python Markdown Extensions collections

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages