Skip to content

kibi2/tir-gfm-lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

GFM <-> TIR converter backend for tirenvi.

Topics

Resources

License

Stars

Watchers

Forks

Contributors