Ran a linter on the code
parent
17699bb3b9
commit
ecbf40aa4c
4
index.js
4
index.js
|
@ -177,8 +177,8 @@ function getMediaFromDirectory(dir) {
|
|||
|
||||
/**
|
||||
* Turns a single markdown file into the json structure needed
|
||||
* @param {path} doc - a single file path to a markdown file
|
||||
* @returns {object} Json object of entries in the md file
|
||||
* @param {path} doc - a single file path to a markdown file
|
||||
* @returns {object} Json object of entries in the md file
|
||||
*/
|
||||
function parseMarkdown(doc) {
|
||||
let tree = remark.parse(doc).children;
|
||||
|
|
Loading…
Reference in New Issue