Markdown
Markdown is used in the app to render markdown in an AppSignal flavour
It is uses tailwind utility class .prose
.
Usage
Header 1
Header 2
Italic Boldtext
text
<div class="c-markdown">
<h1>Header 1</h1>
<h2>Header 2</h2>
<i>Italic</i>
<b>Bold</b>
<p>text</p>
<p>text</p>
</div>
Implementation
Type | Name | |
---|---|---|
Elements | ||
Avatar | .c-avatar | |
Modifiers | ||
Size | .prose-[any] | |
States | None |
Modifiers
It is possible to modify .article
with tailwind prose element modifiers.
text
text
text
<article class="c-acticle prose-h1:text-5xl prose-a:text-pink">
<h1>text</h1>
<p>text</p>
<p>text</p>
</article>