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.4.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.4-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tir_gfm_lite-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 5e92ab111621df5c79472f4552daaa3646f2599f54d806e02a2043c98b9fea6a
MD5 f38d55b7c3b5d611528f484ccff766f4
BLAKE2b-256 137ed68df89c1b2575740845119f621e36bbe0f3f75d27082a639b22e390352d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tir_gfm_lite-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2040fb3de15b9173159b7721c420cb784d321b71a18491bfc6a8d8d529ce9feb
MD5 19af0a7d7dc6b6b3da561e0a0ad267ab
BLAKE2b-256 84b88fe2f168c6933c0ebdbf564a7ba8419d600c710c167d6dec29f58f3d9b85

See more details on using hashes here.

Provenance

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