md2term(1)
π md2term(1) β General Use Manual π
okay so bestie, welcome to md2term(1), the manual page from the General Use Manual section. she's cute, she's tiny, she makes markdown pretty in your terminal. let's get into it π¦
β¨ NAME β¨
md2term β Markdown parser for highlights and colors in terminal. π
πΈ DESCRIPTION πΈ
so here's the tea: md2term was created to be a markdown parser for short texts (less than 30 lines) that could be used in terminal presentations (text slides) and, at the same time, able to be correctly visualized by other parsers on websites (GitHub, GitLab, etc). like, dual-purpose queen behavior π
the script can also be used satisfactorily to view other texts in markdown, as long as its limitations are observed. (and bestie, we WILL be observing them, they're listed down there β¬οΈ)
π SYNOPSIS π
md2term [OPTIONS] -f FILE
π OPTIONS π
-b CHARACTERβ List marker character. pick your lil bullet babe β¨-cβ Clears the terminal before displaying text. fresh slate energy π§Ό-i SPACESβ Indentation of lists, codes and citations in spaces.-k VALUEβ Keep hash marks in titles:0=Discard all1=Keep all2=Only in title 1
-m SPACESβ Ident from left margin in spaces.-pβ Load a pager (less). π-s FILEβ Alternative color scheme. (yes bestie, you can serve a whole new look π)-t LINESβ Top offset in lines.-hβ Show this help. hiii π
π VALID MARKINGS π
here's the cheat sheet, no cap:
**TEXT**or__TEXT__β BOLD π₯*TEXT*or*TEXT*β ITALIC β¨___TEXT___or***TEXT***β BOLD AND ITALIC π~~TEXT~~β STRIKETHROUGH π<u>TEXT</u>β UNDERLINE`TEXT`β CODE IN LINE[LABEL](URL)β LABEL
π¦ BLOCKS π¦
Code blocks must be marked at the beginning of the line! β οΈ like, START of the line, no sneaky spaces, periodt.
Code block
CODE BLOCK
Unordered lists
- Item 1
- Item 2
- Item 3
Ordered lists
1. Item 1
1. Item 2
1. Item 3
Quotes/notes
> The text of the quote or note.
Force line break
Paragraphs, list items, and quotes can \
have lines broken where desired \
using backslashes.
π LIMITATIONS π
bestie, we gotta be honest, here's where she struggles:
- Does not interpret nested lists (sub-items) correctly. π (no sub-item slay, sorry)
- Long line breaks can happen in the middle of words, but you can work around the problem by specifying where they should happen in the source text (this is a valid GFM markdown markup). βοΈ
- Using the
-cand-poptions together can lead to buffer redraw problems inless. π - Links are just visual representations using the markup label (not the URL). If you prefer the URL, it can be used as a label or written as plain text (most terminals interpret URLs as links). π
π LICENSE π
Copyright (C) 2022 Blau Araujo <blau@debxp.org>
GPLv3+ License: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. THERE IS NO WARRANTY, to the fullest extent permitted by law.
Developed by Blau Araujo and Romeu Alfa π«Ά
and that's the whole vibe check, bestie! this was md2term(1) from the General Use Manual β go forth, parse your markdown, and serve terminal slides like the main character you are. mwah πππ¦πΈβ
π¦ where this page comes from
- debian bookworm: md2term 0.0.7-2 Β· GPL-3.0-or-later
- debian trixie: md2term 0.0.7-2 Β· GPL-3.0-or-later
- ubuntu noble: md2term 0.0.7-2 Β· GPL-3.0-or-later
- ubuntu questing: md2term 0.0.7-2
- ubuntu resolute: md2term 0.0.7-2build1 Β· GPL-3.0-or-later
- ubuntu stonking: md2term 0.0.7-2build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms