|
|
|
|
|
by dwh452
1061 days ago
|
|
I haven't seen anything new in this space and I just finished a project using a markdown format I invented called Tagged{Text}. I'm happy to present it here for your consideration. In creating my blog and static site I started using Markdown but couldn't get around the limitations. So I invented a simple file format for tagging text into a tree like structure. It has a formatting style modeled after LaTeX. It has served me well (two websites and two blogs). I call it an "agnostic markdown format" because no tags are defined ahead of time. The user defines everything and writes python filters to generate the output from the tags. I have lots of python code to parse and generate HTML. It has a macro processor, calculator, git date, and other useful tags. Here is an article about Tagged{Text}: https://etcutmp.com/taggedtext.html
Another website built using this format: https://etcutmp.com/evolve5
Source Code: https://github.com/kjs452/tagged_text
Source Code for the second website: https://github.com/kjs452/Evolve5Help The main python file is: taggedtext.py (the parser).
All the other python code are filters to generate or transform the tagged text tree into something else. For example, tt_macros.tt implements the DEFINE{} tag. |
|