Repository navigation
Releases: ForLegalAI/legaldown-render
Releases · ForLegalAI/legaldown-render
Release list
v0.3.0 - legaldown-validator 0.4.0
Requires legaldown-validator 0.4 (>=0.4.0,<0.5); pip install -U legaldown-render brings it in. Renders LegalDown (specification 0.2, Rendering level) to HTML and plain text.
- Uses only the validator's public API (
legaldown,legaldown.syntax,legaldown.grammar), sovalidator_bridge.pyis gone - Rendered output is unchanged, except that a quote nested past the validator's depth (17+ levels of quotes and list items combined) holding only an HTML comment no longer renders an empty paragraph
- Answers files: a UTF-8 BOM is now accepted, and a pathologically nested YAML file gives a clean error (both from validator 0.4.0's
load_answers) - Known limitations: see CONFORMANCE.md (link reference definitions, ForLegalAI/legaldown-validator#92)
v0.2.0 - Update on new validator
First release on PyPI: pip install legaldown-render. It renders LegalDown (specification 0.2, Rendering level) to HTML and plain text.
- Built on legaldown-validator 0.3.0: nested lists ("2.1(b)(i)"), block quotes and list items that hold other blocks, table alignment, hard line breaks, and section numbers from the validator
- Templates with answers:
--answers answers.yaml/render(..., answers=...) - Validator findings show their line numbers in the CLI
- Known limitations: see CONFORMANCE.md (link reference definitions, ForLegalAI/legaldown-validator#92)
Full change: #2