Package se.fortnox.changesets
Class FrontMatterParser
java.lang.Object
se.fortnox.changesets.FrontMatterParser
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FrontMatterParser
public FrontMatterParser()
-
-
Method Details
-
parse
Parse front matter in a Markdown document and return it as a Map.- Parameters:
document- Markdown document- Returns:
- Front matter values
-
removeFrontMatter
Strip any front matter from the passed document and trim leading white space.- Parameters:
document- Markdown document- Returns:
- The same Markdown document with front matter removed
-