This is a sample blog post written in Markdown for test
Features
Easy to write
Supports bold and italic text
And even `inline code`
Code Example
import React from 'react'
import ReactDOM from 'react-dom'
import Markdown from 'react-markdown'
import rehypeHighlight from 'rehype-highlight'
const markdown = `
# Your markdown here
`
ReactDOM.render(
<Markdown rehypePlugins={[rehypeHighlight]}>{markdown}</Markdown>,
document.querySelector('#content')
)
For GFM, you can also use a plugin:
It adds support for GitHub-specific extensions to the language:
tables, strikethrough, tasklists, and literal URLs.
These features do not work by default.
👆 Use the toggle above to add the plugin.
Welcome to My Blog
This is a sample blog post written in Markdown for test
Features
Code Example
For GFM, you can also use a plugin: It adds support for GitHub-specific extensions to the language: tables, strikethrough, tasklists, and literal URLs.
These features do not work by default. 👆 Use the toggle above to add the plugin.
strikethroughhttps://example.com
HTML in markdown
⚠️ HTML in markdown is quite unsafe, but if you want to support it, you can use 'rehype-raw'. You should probably combine it with 'rehype-sanitize'.
Use the toggle above to add the plugin.