!!! THIS EXTENSION IS STILL WORK-IN-PROGRESS !!!
Extension for Python-Markdown. Supported features:
- Line numbers: Convert paragraph numbers into HTML tables
- Special links: Semantic annotation and citation markers
pip install git+https://github.com/openlegaldata/legal-md.git#egg=legal-md
# Install locally (dev purpose)
pip install -e /var/www/apps/oldp/app/
import markdown
md_str = '# Title\n'
md_str += '1| Paragraph with line number\n'
html = markdown.markdown(md_str, extensions=[
'legal_md.extensions.line_numbers',
])
not licensed yet