0
how to connect markdown to html?
3 Answers
+ 2
For converting markdown to html, you have two options:
1- using premade modules or packages in your language! These packages are codes that others written for doing a specific thing like converting markdown to html and you can use them!
2- You can write a function to do that. I can't explain how to do this completely here, but a simple explanation is you open a file, read that file line by line and parse (or convert) every line of markdown to the html and concatenate all of html results together!
+ 2
What do you mean by "connect"?
Here is a comparison.
https://codingnconcepts.com/markdown/markdown-vs-html/
+ 2
Do you mean convert markdown to html?