Open 1kastner opened 8 years ago
Sounds like a nice idea (your example got cut off but I think I know what you were going to say - probably you need to escape it so github doesn't sanitize it)
I'll happily merge a pull request that does this cleanly.
yes, I forgot about that, now you should see it. I will try to find a nice solution.
It seems to work nicely for me and I have written some tests.
I have provided a pull request. I hope you are happy with what I am doing with the options-parameter.
I also need this. Tried using md2html on a text I had written, and the non-ascii letters came out as complete gibberish.
Have you tried on of the alternatives listed at https://github.com/evilstreak/markdown-js#notice-unmaintained ?
My idea would be, that when you pass a parameter for the encoding, this is put into the html file. Kind of:
And then utf8-Encoding would be automatically part, like
<meta charset="utf-8"/>