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.
 
Darks 299cc650c7
Fix regex And updated sample
3 months ago
.gitignore Initial commit 3 months ago
LICENSE Initial commit 3 months ago
README.md Add small readme 3 months ago
md2bbc.py Fix regex And updated sample 3 months ago
sample.md Fix regex And updated sample 3 months ago

README.md

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.