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
@@ -337,21 +337,22 @@ Use class `TablesExtension` in artifact `commonmark-ext-gfm-tables`.
337
337
338
338
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.:
339
339
340
-
```
340
+
```markdown
341
341
> [!NOTE]
342
342
> The text of the note.
343
343
```
344
344
345
345
As types you can use NOTE, TIP, IMPORTANT, WARNING, CAUTION; or configure the extension to add additional ones.
346
346
347
-
Use class `AlertsExtension` in artifact `commonmark-ext-gfm-alerts`.
347
+
Use class `AlertsExtension` in artifact `commonmark-ext-gfm-alerts`. See the
348
+
[`AlertsExtension` README](./commonmark-ext-gfm-alerts/README.md) for more information.
348
349
349
350
### Footnotes
350
351
351
352
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)
352
353
or [Pandoc](https://pandoc.org/MANUAL.html#footnotes):
353
354
354
-
```
355
+
```markdown
355
356
Main text[^1]
356
357
357
358
[^1]: Additional text in a footnote
@@ -368,7 +369,7 @@ is based on the text of the heading.
368
369
369
370
`# Heading` will be rendered as:
370
371
371
-
```
372
+
```html
372
373
<h1id="heading">Heading</h1>
373
374
```
374
375
@@ -389,7 +390,7 @@ Use class `InsExtension` in artifact `commonmark-ext-ins`.
389
390
390
391
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:
391
392
392
-
```
393
+
```markdown
393
394
---
394
395
key: value
395
396
list:
@@ -412,11 +413,11 @@ Adds support for specifying attributes (specifically height and width) for image
412
413
413
414
The attribute elements are given as `key=value` pairs inside curly braces `{ }` after the image node to which they apply,
0 commit comments