I have successfully installed Commonmark.js through the NPM and successfully can convert
md files to HTML, this way:
commonmark test.md > test.html
And after that, I tried to create this HTML file:
But when I open this file in web browser, I see just not formatted HTML:
# header text text
Instead of desired result:
What I’m doing wrong?
(There are no errors shown in Chrome Developer Tools).
I want it just for myselft. In other words, as replacement of Word. Open it with Sublime Text, write something, then open in Chrome and see the result. Something like Strapdown. Maybe I’m on a wrong way?