Skip to main content

Prose

The prose component provides proper styling for rendered Markdown.

Class Output
.s-prose Adds proper styling for rendered Markdown.
.s-prose__sm Decreases the base font size and line height.

We modified this test document from the folks at Tailwind to demonstrate and explain our design choices.

<div class="s-prose">

</div>

This example includes the full kitchen-sink collection of everything the Markdown spec includes.

In ancilliary content like comments or side-discussions, it may be appropriate to add the small variation.

<div class="s-prose s-prose__sm">

</div>
How’d we do?
Anonymously upvote, downvote, or send additional feedback below.
Deploys by Netlify