Skip to main content

metapensiero.markup.semtext

a Simple Enough Markup

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.8 (2018-07-12)

  • Ignore BRs inside headings in the HTML parser

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)

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.

Metadata

Release files for metapensiero.markup.semtext 0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for metapensiero.markup.semtext 0.8
File Size Uploaded Provenance Actions
metapensiero.markup.semtext-0.8.tar.gz 15.0 kB Without provenance Details for metapensiero.markup.semtext-0.8.tar.gz

Release files / metapensiero.markup.semtext-0.8.tar.gz

Download URL metapensiero.markup.semtext-0.8.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5686db8bfa5ff7a19273b39a7b39a3ef33acc8a857fb480fbec09ccca750180b
BLAKE2b-256 checksum
How to use checksums
953441aac39b592c4b43cc88170aa4ad8ab0f85078f09906e030d3a1ca83a8ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for metapensiero.markup.semtext 0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page