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.5.tar.gz (12.9 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.5-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tir_gfm_lite-0.1.5.tar.gz
  • Upload date:
  • Size: 12.9 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.5.tar.gz
Algorithm Hash digest
SHA256 44c660970ba5e8c6f3b862ad23376bd5aa7931c9ea1d2e70a54a45f4afdb3d00
MD5 1067892e720a7d6429c88452156c7d70
BLAKE2b-256 a2eee9a70045c0c55617ed527079d5de9a5c819acee5bc750c9763406ef88f3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for tir_gfm_lite-0.1.5.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.5-py3-none-any.whl.

File metadata

  • Download URL: tir_gfm_lite-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f096390644bf318eb901e748fb90026cdd770b9ddcae7bc43201e867fb8035fa
MD5 64a143282e3010b50faecbeb2301f5bc
BLAKE2b-256 59c094a5a1e7a318181cd8d0a59964a1452325559a281ea02895f039297c523e

See more details on using hashes here.

Provenance

The following attestation bundles were made for tir_gfm_lite-0.1.5-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