565 B
565 B
Attributes
Add classes, IDs, and attributes to Markdown elements using { }.
Syntax
- Inline: Place
{.class #id attr=value}immediately after the element. - Block: Place
{.class #id attr=value}on the line immediately following the block.
Examples
Inline
__bold__{.red}
[link](https://example.com){target=_blank}
Headers
## Heading{#custom-id}
Blocks (List/Table)
- list item
{.red}
| header |
| ------ |
| cell |
{.table-class}
Table Cells (Merge)
| 1 | 2 {colspan=2} |