Skip to main content

GFM <-> TIR converter backend for tirenvi

Project description

tir-gfm-lite

GFM <-> TIR converter backend for tirenvi.

Install

pip install tir-gfm-lite

Usage

tir-gfm-lite parse file.md > file.tir
tir-gfm-lite unparse file.md < file.tir

Behavior

  • Table cells do not support multiline content in GFM
  • Newlines inside a cell are encoded as \n on unparse
  • \n in GFM is treated as a literal string (not converted back to newline on parse)

Note

This is a simplified (lite) GFM parser.

  • Tables end when a line does not contain a pipe (|)
  • Not fully compliant with the GFM specification

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

tir_gfm_lite-0.1.6.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tir_gfm_lite-0.1.6-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file tir_gfm_lite-0.1.6.tar.gz.

File metadata

  • Download URL: tir_gfm_lite-0.1.6.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tir_gfm_lite-0.1.6.tar.gz
Algorithm Hash digest
SHA256 121853513b14058f8376042821a2894c4610ac5039eaa8c337d8f8ef08a15027
MD5 34818ed1a990b546f22a8ad8421a63c8
BLAKE2b-256 33a4ee048ef54dfaea9cc773808b6b7da3555d5ef60cb728cd70c1ca0757a8c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for tir_gfm_lite-0.1.6.tar.gz:

Publisher: publish.yml on kibi2/tir-gfm-lite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tir_gfm_lite-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: tir_gfm_lite-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tir_gfm_lite-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f7330677db001546e3c71d1b3a65eb6cad421fa04f9f2781e4f35233822beec5
MD5 d2b237e5454686d2df61013a052000b1
BLAKE2b-256 2103d05ac7c597c351acb08a1da313b8b08f983e1e9bedd1f2a130a0250ca493

See more details on using hashes here.

Provenance

The following attestation bundles were made for tir_gfm_lite-0.1.6-py3-none-any.whl:

Publisher: publish.yml on kibi2/tir-gfm-lite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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