Example Post (MD)
Hello Markdown
This is a Markdown file (see source) where you can embed plain HTML.
Hereโs a paragraph with a custom styled span:
<span style="color: tomato; font-weight: bold;">This text is red and bold.</span>
This text is red and bold.
You can also style your JSX blocks with Tailwind classes:
<span class="text-blue font-bold">This text is red and bold.</span>
This text is red and bold.
๐ง Notes for Markdown:
- Inline HTML must use string style syntax (e.g. style="color: red;").
- Attributes follow regular HTML conventions (class, for, background-color, etc.).
- You cannot use JSX blocks or Flowershow components.
Note
If you want all your files to be parsed as plain Markdown with HTML blocks (no matter the extension), you can add markdownRenderer: "md" to your config.json. Or use markdownRenderer: "auto" to parse .md files as Markdown and .mdx as MDX.
Important
Note, Mermaid diagrams currently don't work with regular markdown rendering, only with MDX.