We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c44844 commit 19233c7Copy full SHA for 19233c7
core/lib/markdown_parser.js
@@ -5,6 +5,11 @@ var yaml = require('js-yaml');
5
6
var markdown_parser = function () {
7
8
+ /**
9
+ * Converts a markdown block with frontmatter (each is optional, technically) to a well-formed object.
10
+ * @param block - the ".md" file, which can contain frontmatter or not, or only frontmatter.
11
+ * @returns an object with any frontmatter keys, plus a .markdown key
12
+ */
13
function parseMarkdownBlock(block) {
14
var returnObject = {};
15
0 commit comments