Skip to content

Commit ccd07c7

Browse files
committed
Update sample markdown in docs
1 parent 7f323a6 commit ccd07c7

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/components/MarkdownSample.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22

33
[View on GitHub](https://github.com/tailwindcss/typography)
44

5-
This is just a big block of example content designed to dogfood the Tailwind CSS typography plugin.
5+
A plugin that provides a `rich-text` class you can use to add sensible typographic defaults to any vanilla HTML you don't control (like HTML rendered from Markdown, or pulled from a CMS).
6+
7+
```html
8+
<div class="rich-text">
9+
{{ markdown }}
10+
</div>
11+
```
12+
13+
What follows is just a big block of example content designed to dogfood the plugin.
614

715
It includes every sensible typographic element I could think of, like **bold text**, unordered lists, ordered lists, code blocks, block quotes, _and even italics_.
816

0 commit comments

Comments
 (0)