The markdown format of the template is supported through ByteMD. Therefore, if you want to preview it in real time while editing, you can use ByteMD's playground directly.
However, please note that not all plugins available in the playground are enabled in the template. For the specific list of enabled plugins, please refer to this link.
Below are some of the available formats and render results.
I just love **bold text**. Italicized text is the _cat's meow_. At the command prompt, type `nano`.
My favorite markdown editor is [ByteMD](https://github.com/bytedance/bytemd).
1. First item
2. Second item
3. Third item
> Dorothy followed her through many of the beautiful rooms in her castle.
``` js
import gfm from '@bytemd/plugin-gfm'
import { Editor, Viewer } from 'bytemd'
const plugins = [
gfm(),
// Add more plugins here
]
const editor = new Editor({
target: document.body, // DOM to render
props: {
value: '',
plugins,
},
})
editor.on('change', (e) => {
editor.$set({ value: e.detail.value })
})
Automatic URL Linking: https://github.com/bytedance/bytemd
~~The world is flat.~~ We now know that the world is round.
- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media
| Syntax | Description |
| --------- | ----------- |
| Header | Title |
| Paragraph | Text |
Inline math equation: $a+b$
$$
\displaystyle \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
$$
```mermaid
mindmap
root((mindmap))
Origins
Long history
::icon(fa fa-book)
Popularisation
British popular psychology author Tony Buzan
Research
On effectiveness<br/>and features
On Automatic creation
Uses
Creative techniques
Strategic planning
Argument mapping
Tools
Pen and paper
Mermaid