Markdown to PC's BBcode. Quick n' dirty one.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

453 B

md2bbc

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.