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