#Is there a way to read markdown files?

1 messages · Page 1 of 1 (latest)

small horizon
#

I am wondering if there is a method to read markdown files?

It works similarly to fs.readFile from the Node library.

small horizon
#

@gritty lotus

I am trying to create a search bar for the blog. When a user types a word or phrase into the search bar, the web app can search for that phrase in the content of the blog posts.

Thanks for suggesting the articles. I will check them. out.

feral linden
#

If you want to search through your posts you probably want to build a proper search index with elastic search or something and not query every result and manually skim through it. The more posts you have the slower your search will get