Generating Markdown files from the Strings provided from PokeApi

about 2 years ago - Direct link

Hi Team

I'm built a rudimentary Pokedex in Typescript using this greattutorial:

I'm now going to implement this in a Gatsby Page (potentially also giving the user the option to add their own cringeworthy OC pokemon.)

To work this properly, I need to take the strings retrieved from the PokeAPI and print them into markdown files so they have be properly searched via Lunr or equivalent.

Is there any way I generate a Markdown file for every Pokemon programmatically?

Also, how would I implement images into these files?

Go to article →

Links in this thread

React Typescript Tutorial - Why and How (get started now!)
❤️ Become a Patron and help the channel grow ⌨️ Full Code 👨‍👨‍👦...