Skip to main content

a Simple Enough Markup

Project description

author:

Lele Gaifax

contact:

lele@metapensiero.it

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.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)

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metapensiero.markup.semtext-0.6.tar.gz (14.9 kB view details)

Uploaded Source

File details

Details for the file metapensiero.markup.semtext-0.6.tar.gz.

File metadata

File hashes

Hashes for metapensiero.markup.semtext-0.6.tar.gz
Algorithm Hash digest
SHA256 a58162debff52ec8cbd8f828f66f3caecbd4edfd9979a9267fe7673a23d5f292
MD5 286d9f01c7494b20d36715d8cbceff6e
BLAKE2b-256 d0ae7c25795e2367932952dd6fbc0f8217c93f013da28a821ea1fc48b5c370eb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page