I wrote a little web app for my own good but I figured it's kind of useful for other people so I'm gonna publish it cause why not. I can't be arsed with writing exactly how to use it so I'm generally going to assume that you have a brain (far fetched for some people, I know) and can figure it out for yourself.
This tool's job is generally what it says on the tin, converts Markdown code to BBcode, however it's not fully feature rich and only converts the following: h1, h2, h3, bold, italic, bold+italic, strikethrough, code, img and url. The point of it is that my forum writing started changing from using the forum editor to first writing everything in something like Typora and then manually inserting all the forum bbcode in place of the Markdown. After doing it once I figured I'm lazy so it would be nice to automate it. Therefore this.
Regarding UI, the top two fields are for opening and closing tags (these go at the beginning and end of your post), the next three are for substitutes of Markdown headers, from left to right h1 (# header), h2 (## header) and h3 (### header). The rest is pretty self explanatory.
Here's a quick demo with default settings.
input:
Code:
# Markdown
**Markdown** is a [lightweight markup language](https://en.wikipedia.org/wiki/Lightweight_markup_language) with plain text formatting syntax designed so that it can be converted to [HTML](https://en.wikipedia.org/wiki/HTML) and many other formats using a tool by the same name. Markdown is often used to format [readme files](https://en.wikipedia.org/wiki/README), for writing messages in online discussion forums, and to create [rich text](https://en.wikipedia.org/wiki/Formatted_text) using a [plain text](https://en.wikipedia.org/wiki/Plain_text) [editor](https://en.wikipedia.org/wiki/Text_editor).
## History
[John Gruber](https://en.wikipedia.org/wiki/John_Gruber) created the Markdown language in 2004 in collaboration with [Aaron Swartz](https://en.wikipedia.org/wiki/Aaron_Swartz) on the syntax, with the goal of enabling people "to write using an easy-to-read, easy-to-write plain text format, and optionally convert it to structurally valid [XHTML](https://en.wikipedia.org/wiki/XHTML) (or [HTML](https://en.wikipedia.org/wiki/HTML))".
The key design goal is *readability* – that the language be readable as-is, without looking like it has been marked up with tags or formatting instructions, unlike text formatted with a [markup language](https://en.wikipedia.org/wiki/Markup_language), such as [Rich Text Format](https://en.wikipedia.org/wiki/Rich_Text_Format) (RTF) or HTML, which have obvious tags and formatting instructions. To this end, its main inspiration is the existing [conventions](https://en.wikipedia.org/wiki/Convention_(norm)) for marking up [plain text](https://en.wikipedia.org/wiki/Plain_text) in [email](https://en.wikipedia.org/wiki/Email), though it also draws from earlier markup languages, notably [setext](https://en.wikipedia.org/wiki/Setext), [Textile](https://en.wikipedia.org/wiki/Textile_(markup_language)), and [reStructuredText](https://en.wikipedia.org/wiki/ReStructuredText).
### Standardization
There is no clearly defined Markdown standard, apart from the original writeup and implementation by John Gruber, which some consider [abandonware](https://en.wikipedia.org/wiki/Abandonware). This has led to [fragmentation](https://en.wikipedia.org/wiki/Fragmentation_(programming)) as different vendors write their own variants of the language to correct flaws or add missing features.
Output:
Quote:
MarkdownMarkdown is a lightweight markup language with plain text formatting syntax designed so that it can be converted to HTML and many other formats using a tool by the same name. Markdown is often used to format readme files, for writing messages in online discussion forums, and to create rich text using a plain texteditor.
HistoryJohn Gruber created the Markdown language in 2004 in collaboration with Aaron Swartz on the syntax, with the goal of enabling people "to write using an easy-to-read, easy-to-write plain text format, and optionally convert it to structurally valid XHTML (or HTML)".
The key design goal is readability – that the language be readable as-is, without looking like it has been marked up with tags or formatting instructions, unlike text formatted with a markup language, such as Rich Text Format (RTF) or HTML, which have obvious tags and formatting instructions. To this end, its main inspiration is the existing conventions) for marking up plain text in email, though it also draws from earlier markup languages, notably setext, Textile), and reStructuredText.
Standardization
There is no clearly defined Markdown standard, apart from the original writeup and implementation by John Gruber, which some consider abandonware. This has led to fragmentation) as different vendors write their own variants of the language to correct flaws or add missing features.
Same input but slightly tweaked settings
Quote:
MarkdownMarkdown is a lightweight markup language with plain text formatting syntax designed so that it can be converted to HTML and many other formats using a tool by the same name. Markdown is often used to format readme files, for writing messages in online discussion forums, and to create rich text using a plain texteditor.
HistoryJohn Gruber created the Markdown language in 2004 in collaboration with Aaron Swartz on the syntax, with the goal of enabling people "to write using an easy-to-read, easy-to-write plain text format, and optionally convert it to structurally valid XHTML (or HTML)".
The key design goal is readability – that the language be readable as-is, without looking like it has been marked up with tags or formatting instructions, unlike text formatted with a markup language, such as Rich Text Format (RTF) or HTML, which have obvious tags and formatting instructions. To this end, its main inspiration is the existing conventions) for marking up plain text in email, though it also draws from earlier markup languages, notably setext, Textile), and reStructuredText.
Standardization
There is no clearly defined Markdown standard, apart from the original writeup and implementation by John Gruber, which some consider abandonware. This has led to fragmentation) as different vendors write their own variants of the language to correct flaws or add missing features.