@@ -4933,6 +4933,37 @@ in pandoc, but may be enabled by adding `+EXTENSION` to the format
49334933name, where `EXTENSION` is the name of the extension. Thus, for
49344934example, `markdown+hard_line_breaks` is Markdown with hard line breaks.
49354935
4936+#### Extension: `attributes` ####
4937+
4938+Allows attributes to be attached to any inline or block-level
4939+element. The syntax for the attributes is the same as that
4940+used in [`header_attributes`][Extension: `header_attributes`].
4941+
4942+- Attributes that occur immediately after an inline
4943+ element affect that element. If they follow a space, then they
4944+ belong to the space. (Hence, this option subsumes
4945+ `inline_code_attributes` and `link_attributes`.)
4946+- Attributes that occur immediately before a block
4947+ element, on a line by themselves, affect that
4948+ element.
4949+- Consecutive attribute specifiers may be used,
4950+ either for blocks or for inlines. Their attributes
4951+ will be combined.
4952+- Attributes that occur at the end of the text of
4953+ a Setext or ATX heading (separated by whitespace
4954+ from the text) affect the heading element. (Hence, this
4955+ option subsumes `header_attributes`.)
4956+- Attributes that occur after the opening fence
4957+ in a fenced code block affect the code block element. (Hence,
4958+ this option subsumes `fenced_code_attributes`.)
4959+- Attributes that occur at the end of a reference
4960+ link definition affect links that refer to that
4961+ definition.
4962+
4963+Note that pandoc's AST does not currently allow attributes
4964+to be attached to arbitrary elements. Hence a Span or Div
4965+container will be added if needed.
4966+
49364967#### Extension: `old_dashes` ####
49374968
49384969Selects the pandoc <= 1.8.2.1 behavior for parsing smart dashes: