Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/euro20179/termml
tml (terminal makrup language) is a markup language that is rendered in terminals with it's own very *very* watered down version of css.
https://github.com/euro20179/termml
Last synced: 7 days ago
JSON representation
tml (terminal makrup language) is a markup language that is rendered in terminals with it's own very *very* watered down version of css.
- Host: GitHub
- URL: https://github.com/euro20179/termml
- Owner: Euro20179
- Created: 2021-06-14T00:15:16.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-30T02:21:23.000Z (over 2 years ago)
- Last Synced: 2023-08-20T04:19:05.626Z (over 1 year ago)
- Language: Python
- Size: 85 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TML
tml is a markup language specifically designed to be displayed in terminals, it is interpreted at runtime with `tml.py` however you can write the output to a file, although it will be missing features.
*WARNING:* currently this program will not work unless you install it
Additional features when interprated at runtime:
* hr (horizontal rules), the length is calculated at runtime, so if written, the line may be too long/short
* title, the center position is calculated at runtime, may be off when written to a file## Installation
```sh
git clone https://github.com/euro20179/tml
cd tml
make install
```Uninstall:
```sh
make uninstall
```or
```sh
pip uninstall tml
```### Example
a sample tml file
```tmlHello
some bold text
some italic text
```### How it works
the interprater uses python's builtin html.parser module to parse html, therefore comments, entities (`<`), and anything else like that should work