Skip to content
card background pattern
Level 2

Sapper For Beginners

Unlock Full Course

$39.99 $24.99



Building A Markdown Blog Part 2

In this video, we will continue post creation and complete our blog functionality.



User photo avatar
about 1 month ago

@Richard Nash You probably want to use fs.readdir - something similar to what you can see in the following link but potentially changing your approach a little bit:

Another useful link to you would be

I hope this is of help to you!

Richard Nash
about 1 month ago

How could I alter the file fetching to fetch markdown files in their own folders? Rather than having a folder called posts with, etc...I have a folder called posts with FOLDERS inside named post-one, then inside each of those folders I have a markdown file called, so that every markdown file is called inside a folder that is named the posts name.

Something to say?

Become a Pro