Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openlegaldata/legal-md
Markdown for Legal Documents
https://github.com/openlegaldata/legal-md
markdown markdown-extension python
Last synced: 2 days ago
JSON representation
Markdown for Legal Documents
- Host: GitHub
- URL: https://github.com/openlegaldata/legal-md
- Owner: openlegaldata
- Created: 2018-05-07T13:55:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-18T19:07:59.000Z (almost 2 years ago)
- Last Synced: 2023-03-09T00:05:56.188Z (over 1 year ago)
- Topics: markdown, markdown-extension, python
- Language: HTML
- Homepage: https://openlegaldata.io
- Size: 24.4 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Legal MD: Markdown for Legal Documents
[![Build Status](https://travis-ci.org/openlegaldata/legal-md.svg?branch=master)](https://travis-ci.org/openlegaldata/legal-md) [![Coverage Status](https://coveralls.io/repos/github/openlegaldata/legal-md/badge.svg?branch=master)](https://coveralls.io/github/openlegaldata/legal-md?branch=master)
*!!! THIS EXTENSION IS STILL WORK-IN-PROGRESS !!!*
Extension for [Python-Markdown](https://python-markdown.github.io/). Supported features:
- Line numbers: Convert paragraph numbers into HTML tables
- Special links: Semantic annotation and citation markers## Install
```
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/
```## Usage
```python
import markdownmd_str = '# Title\n'
md_str += '1| Paragraph with line number\n'html = markdown.markdown(md_str, extensions=[
'legal_md.extensions.line_numbers',
])```
## License
not licensed yet