2021-02-10 22:15:15 +01:00
|
|
|
# md2bbc
|
|
|
|
|
2021-02-10 22:27:34 +01:00
|
|
|
Markdown to PC's BBcode. Quick'n'dirty one.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
python3 md2bbc.py input.md > output.bbcode
|
|
|
|
```
|
|
|
|
|
|
|
|
## Features
|
|
|
|
|
|
|
|
- `# H1 title`
|
|
|
|
- `## H2 title`
|
|
|
|
- `### H3 title`
|
|
|
|
- `*emphasis text*`
|
|
|
|
- `**strong text**`
|
|
|
|
- `[link](https://domain.tld)`
|
|
|
|
- `{{ tableofcontents }}`
|
|
|
|
|
|
|
|
More features may be added in the future, but this script is provided as it.
|
|
|
|
Only (very) simple markup will produce correct output.
|
|
|
|
Always check BBcode validity before posting.
|