This blog uses a custom filter to enable the writer to use markdown in the creation and editing of posts.
Mardown as defined by wikipedia is:
Markdown is a lightweight markup language for creating formatted text using a plain-text editor. John Gruber and Aaron Swartz created Markdown in 2004 as a markup language that is appealing to human readers in its source code form. Markdown is widely used in blogging, instant messaging, online forums, collaborative software, documentation pages, and readme files.
The initial description of Markdown contained ambiguities and raised unanswered questions, causing implementations to both intentionally and accidentally diverge from the original version. This was addressed in 2014, when long-standing Markdown contributors released CommonMark, an unambiguous specification and test suite for Markdown.
source: https://en.wikipedia.org/wiki/Markdown
H1
H2
H3
bold text
italicised text
Ordered List
- First item
- Second item
- Third item
Unordered List
- First item
- Second item
- Third item
- Fourth item
Both code
and code blocks.
python -c "import secrets; print(secrets.token_urlsafe(12))"