From d622e4e3fb9c754918ed59de04aea957fbf3e60a Mon Sep 17 00:00:00 2001 From: Darks Date: Wed, 10 Feb 2021 22:27:34 +0100 Subject: [PATCH] Add small readme --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dbf4ab0..6741f7d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,23 @@ # md2bbc -Markdown to PC's BBcode. Quick n' dirty one. \ No newline at end of file +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.