Open ekfuhrmann opened 2 years ago
This is a great boilerplate, but I am struggling to figure out how to extract all of the markdown files into a list that contains the link and document names, think something along the lines of a sidebar.
Any suggestions?
this might work.
const posts = readdirSync("posts").map((postName) => postName.replace(".md", "") );
This is a great boilerplate, but I am struggling to figure out how to extract all of the markdown files into a list that contains the link and document names, think something along the lines of a sidebar.
Any suggestions?