diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-07-12 17:03:01 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-07-12 17:03:01 -0700 |
commit | 6d30d3e0b3b4a7005018179ff1098dd16eeb2652 (patch) | |
tree | 4b8424cc08ca1bfd4bd0074691239d8b53eba1f9 /MANUAL.txt | |
parent | c497d79dfddad38d46099734efbc7cd9bbcd7e7b (diff) | |
download | pandoc-6d30d3e0b3b4a7005018179ff1098dd16eeb2652.tar.gz |
Pass through aria- attributes to HTML5.
Also document addition of data- prefix to unknown attributes.
Closes #5646.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r-- | MANUAL.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index 879bef5a9..cc329b972 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -3967,10 +3967,11 @@ Attributes can be set on links and images: (This syntax is compatible with [PHP Markdown Extra] when only `#id` and `.class` are used.) -For HTML and EPUB, all attributes except `width` and `height` (but -including `srcset` and `sizes`) are passed through as is. The other -writers ignore attributes that are not supported by their output -format. +For HTML and EPUB, all known HTML5 attributes except `width` and +`height` (but including `srcset` and `sizes`) are passed through +as is. Unknown attributes are passed through as custom +attributes, with `data-` prepended. The other writers ignore +attributes that are not specifically supported by their output format. The `width` and `height` attributes on images are treated specially. When used without a unit, the unit is assumed to be pixels. However, any of |