-
Notifications
You must be signed in to change notification settings - Fork 320
Closed
Description
Hi, I'm creating an extension to parsing YAML style metadata of markdown. Hyphens are generally used to divide metadata section. Following is example:
---
key1: value1
key2: value2
---
markdown document start!This format is widely used. We can find lots of example in web.
- https://github.com/apache/flink/blob/master/docs/setup/cluster_setup.md
- https://github.com/apache/incubator-zeppelin/blob/master/docs/docs/interpreter/spark.md
- https://www.npmjs.com/package/meta-marked
- http://pandoc.org/README.html#extension-yaml_metadata_block
But I cannot create the extension to parse metadata because core factories precede the custom extension factories. In above example, --- is considered as horizontal line by HorizontalRuleParser.
I think that the custom extension factories should precede the core factories. It would be helpful to extend parser.
Metadata
Metadata
Assignees
Labels
No labels