diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-02-07 20:08:46 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-02-08 21:52:55 +0300 |
commit | 2631df94ea63ccb0f2b7e35c182bb663da3009a3 (patch) | |
tree | fa2e22eddd9885f7550a0f652615a58d079423a7 /data | |
parent | 19dee04ad6de42e6409e38505decc64a98ec9e03 (diff) |
markup/goldmark: Add attributes support for blocks (tables etc.)
E.g.:
```
> foo
> bar
{.myclass}
```
There are some current limitations: For tables you can currently only apply it to the full table, and for lists the ul/ol-nodes only, e.g.:
```
* Fruit
* Apple
* Orange
* Banana
{.fruits}
* Dairy
* Milk
* Cheese
{.dairies}
{.list}
```
Fixes #7548
Diffstat (limited to 'data')
-rw-r--r-- | data/docs.json | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/data/docs.json b/data/docs.json index 70aee718e..8e4b1f95b 100644 --- a/data/docs.json +++ b/data/docs.json @@ -1509,7 +1509,10 @@ "parser": { "autoHeadingID": true, "autoHeadingIDType": "github", - "attribute": true + "attribute": { + "title": true, + "block": false + } }, "extensions": { "typographer": true, @@ -3023,7 +3026,7 @@ "Examples": [] }, "Merge": { - "Description": "Merge creates a copy of the final parameter and merges the preceeding\nparameters into it in reverse order.\nCurrently only maps are supported. Key handling is case insensitive.", + "Description": "Merge creates a copy of the final parameter and merges the preceding\nparameters into it in reverse order.\nCurrently only maps are supported. Key handling is case insensitive.", "Args": [ "params" ], @@ -3526,6 +3529,12 @@ "Aliases": null, "Examples": null }, + "Overlay": { + "Description": "", + "Args": null, + "Aliases": null, + "Examples": null + }, "Pixelate": { "Description": "", "Args": null, @@ -4371,7 +4380,7 @@ ] }, "CountRunes": { - "Description": "CountRunes returns the number of runes in s, excluding whitepace.", + "Description": "CountRunes returns the number of runes in s, excluding whitespace.", "Args": [ "s" ], |