Markdown
Previewing Markdown
redcarpet --parse fenced_code_blocks my-file.md > my-file.html
# Continuously:
echo "my-file.md" | entr -c -s "redcarpet --parse fenced_code_blocks my-file.md > my-file.html"
Snippets
Spoiler text
<details>
<summary>Spoiler warning</summary>
Spoiler text. Note that it's important to have a space after the summary tag.
```sh
echo "code block"
```
</details>
Markdown/shell polyglots
: ' \
<!-- ' ;:<<'HERE' #
HERE
echo "executing as shell"
exit 0
-->
Due to the above sad face (`: ' \`), this file is a Markdown/Bash polyglot.
Tools
- markdownlint
- mdlynx
- redcarpet
- typos