md2term(1) | General Use Manual | md2term(1) |
md2term - Markdown parser for highlights and colors in terminal.
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). The script can also be used satisfactorily to view other texts in markdown, as long as its limitations are observed.
md2term [OPTIONS] -f FILE
-b CHARACTER List marker character.
-c Clears the terminal before displaying text.
-i SPACES Indentation of lists, codes and citations in spaces.
-k VALUE Keep hash marks in titles:
0=Discard all 1=Keep all 2=Only in title 1
-m SPACES Ident from left margin in spaces.
-p Load a pager (less).
-s FILE Alternative color scheme.
-t LINES Top offset in lines.
-h Show this help.
Marking | Output |
**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 |
Code blocks must be marked at the beginning of the line!
``` CODE BLOCK ```
- Item 1 - Item 2 - Item 3
1. Item 1 1. Item 2 1. Item 3
> The text of the quote or note.
Paragraphs, list items, and quotes can \ have lines broken where desired \ using backslashes.
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