a Simple Enough Markup
Project description
- author:
Lele Gaifax
- contact:
- license:
GNU General Public License version 3 or later
Implement a minimalistic markup usable in the various descriptions, with just the needed elements: headings and paragraphs containing plain, bold or italic text, hyper <link> and unordered lists.
The internal representation is a tree of nodes, and a set of functions to transpose it to/from a textual format, HTML and Quill Delta are included.
Changes
0.7 (2018-06-26)
Better handling of nested DIVs in the HTML parser
0.6 (2018-06-13)
Handle implicit list item indexes in SEMPrinter
0.5 (2018-04-26)
Properly escape also the link’s address
0.4 (2018-04-26)
New escape option to HTMLPrinter that by default uses html.escape(text, quote=True) to emit safe text spans
0.3 (2018-04-20)
Support for hyperlinks
Support for headings
New function to emit a Quill Delta representation of an AST
0.2 (2018-03-10)
Fix HTML representation of numbered list items without a value
Raise a specific InvalidNestingError exception instead of generic AssertionError
0.1 (2018-02-25)
Renamed to metapensiero.markup.semtext
0.0 (unreleased)
Initial effort.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for metapensiero.markup.semtext-0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 924ee86a41911c4e2679008b268966bc9afba0dce8a48dd965bcd5d223c1d5d9 |
|
MD5 | 9281f964eda934704e68a6f0b66f951a |
|
BLAKE2b-256 | 1e2e7dc3a2f913d7311890bb61fa321372e21bae885a7c4aec4343589ce15cd0 |