Add note about non-standardising yaml in the future · syntax-tree/mdast@9dbb4cb (original) (raw)

Original file line number Diff line number Diff line change
@@ -217,6 +217,11 @@ interface YAML <: Text {
217 217 }
218 218 ```
219 219
220 +> **Note**: YAML used to be available through the core of remark and thus
221 +> is specified here. Support for it now moved to
222 +> [`remark-frontmatter`][frontmatter], and the definition here may be removed
223 +> in the future.
224 +
220 225 For example, the following markdown:
221 226
222 227 ```md
@@ -988,3 +993,5 @@ Yields:
988 993 [footnotereference]: #footnotereference
989 994
990 995 [footnotedefinition]: #footnotedefinition
996 +
997 +[frontmatter]: https://github.com/wooorm/remark-frontmatter