You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -339,21 +339,22 @@ Use class `TablesExtension` in artifact `commonmark-ext-gfm-tables`.
339
339
340
340
Adds support for GitHub-style alerts (also known as callouts or admonitions) as described [here](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts), e.g.:
341
341
342
-
```
342
+
```markdown
343
343
> [!NOTE]
344
344
> The text of the note.
345
345
```
346
346
347
347
As types you can use NOTE, TIP, IMPORTANT, WARNING, CAUTION; or configure the extension to add additional ones.
348
348
349
-
Use class `AlertsExtension` in artifact `commonmark-ext-gfm-alerts`.
349
+
Use class `AlertsExtension` in artifact `commonmark-ext-gfm-alerts`. See the
350
+
[`AlertsExtension` README](./commonmark-ext-gfm-alerts/README.md) for more information.
350
351
351
352
### Footnotes
352
353
353
354
Enables footnotes like in [GitHub](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#footnotes)
354
355
or [Pandoc](https://pandoc.org/MANUAL.html#footnotes):
355
356
356
-
```
357
+
```markdown
357
358
Main text[^1]
358
359
359
360
[^1]: Additional text in a footnote
@@ -370,7 +371,7 @@ is based on the text of the heading.
370
371
371
372
`# Heading` will be rendered as:
372
373
373
-
```
374
+
```html
374
375
<h1id="heading">Heading</h1>
375
376
```
376
377
@@ -391,7 +392,7 @@ Use class `InsExtension` in artifact `commonmark-ext-ins`.
391
392
392
393
Adds support for metadata through a YAML front matter block. This extension only supports a subset of YAML syntax. Here's an example of what's supported:
393
394
394
-
```
395
+
```markdown
395
396
---
396
397
key: value
397
398
list:
@@ -414,11 +415,11 @@ Adds support for specifying attributes (specifically height and width) for image
414
415
415
416
The attribute elements are given as `key=value` pairs inside curly braces `{ }` after the image node to which they apply,
0 commit comments