Extended syntaxes
These are options of Showdown.js, which I have enabled.
😄 💯
- Table
h1 | h2 | h3 |
---|---|---|
100 | [a][1] | ![b][2] |
foo | bar |
Custom syntaxes
These are supported, unlike https://github.com/patarapolw/showdown-extra/tree/master/example.md (Please view on GitHub to see differences.)
CSS is supported, but is scoped to prevent leakage.
<style>
h1 {
color: red;
}
</style>
JavaScript, however, is not enabled.
<script>
alert('hello')
</script>
Class wrapping is possible due to https://github.com/showdownjs/showdown/wiki/Showdown's-Markdown-syntax#handling-html-in-markdown-documents, please try
This is not indented.
## This is indented.
You can also declare inline CSS this way.
By default, Markdown is sanitized, Youtube and Blur has to be done by custom tags, either via {% %}
(single line) or <...>
(multiple lines).
Text is blurred too.
Standard HTML features
The question still remains, how do I add spoiler?
- This is a standard HTML feature, just use
<details>
,
Aforementioned matter
Something else
title: Awesome front matter
isCool: true
numbers:
- a-list: 1