summary refs log tree commit diff
path: root/Cheat sheets/Commands.md
blob: 818710f67fe8582d1878f2bf3c6112745f875ebd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
description: Handy commands i use on my Linux distro machines
created: 2024-01-01
---


## Convert markdown to HTML
e.g. to preview a markdown file
Reqires [python-markdown](https://python-markdown.github.io/install/)

```bash
python3 -m markdown README.md > /tmp/README.html
```

To load extensions like code blocks:
```bash
python3 -m markdown -x fenced_code -x codehilite -x tables README.md > /tmp/README.html
```