x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<div class="flex flex-col gap-6 p-8 max-w-2xl"> <div data-controller="midwest-prose" class="midwest-prose prose midwest-markdown"> <h1> <a href="#gfm-extensions" aria-hidden="true" class="anchor" id="gfm-extensions"></a>GFM Extensions</h1> <h2> <a href="#tables" aria-hidden="true" class="anchor" id="tables"></a>Tables</h2> <table> <thead> <tr> <th>Feature</th> <th>Status</th> </tr> </thead> <tbody> <tr> <td>Tables</td> <td>Yes</td> </tr> <tr> <td>Strikethrough</td> <td>Yes</td> </tr> <tr> <td>Autolinks</td> <td>Yes</td> </tr> <tr> <td>Task lists</td> <td>Yes</td> </tr> </tbody> </table> <h2> <a href="#strikethrough" aria-hidden="true" class="anchor" id="strikethrough"></a>Strikethrough</h2> <p>This is <del>deleted text</del> with strikethrough.</p> <h2> <a href="#autolinks" aria-hidden="true" class="anchor" id="autolinks"></a>Autolinks</h2> <p>Visit <a href="https://example.com">https://example.com</a> automatically linked.</p> <h2> <a href="#task-lists" aria-hidden="true" class="anchor" id="task-lists"></a>Task Lists</h2> <ul> <li> <input type="checkbox" checked disabled> Add Commonmarker dependency</li> <li> <input type="checkbox" checked disabled> Create MarkdownComponent</li> <li> <input type="checkbox" disabled> Write documentation</li> <li> <input type="checkbox" disabled> Ship it</li> </ul> </div></div>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<%sample = <<~MD # GFM Extensions ## Tables | Feature | Status | |---------------|--------| | Tables | Yes | | Strikethrough | Yes | | Autolinks | Yes | | Task lists | Yes | ## Strikethrough This is ~~deleted text~~ with strikethrough. ## Autolinks Visit https://example.com automatically linked. ## Task Lists - [x] Add Commonmarker dependency - [x] Create MarkdownComponent - [ ] Write documentation - [ ] Ship itMD%><div class="flex flex-col gap-6 p-8 max-w-2xl"> <%= render Midwest::MarkdownComponent.new(sample) %></div>GFM Extensions
GitHub Flavored Markdown extensions: tables, strikethrough, autolinks, and task lists.
No params configured.
No assets to display.
Add a .js or .css file alongside the component to see it here.
Figma embed for Markdown/extensions
Annotate a preview to embed its Figma design here:
@figma "https://figma.com/..."