Skip to content

Commit

Permalink
fix: exportnnRef: #24
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Jul 24, 2020
1 parent ca0700f commit 579133d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/front_matter.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ function split(str) {
if (rPrefixSep.test(str)) return { content: str };

const matchNew = str.match(rFrontMatterNew);

if (matchNew) {
return {
data: matchNew[1],
Expand Down Expand Up @@ -179,3 +178,10 @@ module.exports = {
escape: escapeYAML,
stringify
};

module.exports = parse;
exports = parse;
exports.parse = parse;
exports.split = split;
exports.escape = escapeYAML;
exports.stringify = stringify;

0 comments on commit 579133d

Please sign in to comment.