matwachich Posted June 2, 2020 Share Posted June 2, 2020 A simple and powerfull UDF to convert markdown to HTML, using the excellent md4c library. the code is simple and straight forward, just look at the example. There is the simple function _md_Html, and a more advanced _md_Parse function (only for advanced uses, to convert something other than HTML). au3markdown.zip Link to comment Share on other sites More sharing options...
jcpetu Posted September 21, 2020 Share Posted September 21, 2020 Hi matwachich, excelent UDF very useful. I compared some markdown demo and found differences with your UDF output, you can test it with standard demo at https://markdown-it.github.io/ Your UDF doesn't show emoticons and images are not correctly sized. Another point is that your source output lacks crlf, for instance it shows: <hr /><p><u><u>Advertisement :)</u></u></p><ul><li><u><u><a href="https://nodeca.github.io/pica/demo/">pica</a></u></u> - high quality and fast imageresize in browser.</li><li><u><u><a href="https://github.com/nodeca/babelfish/">babelfish</a></u></u> - developer friendlyi18n with plurals support and easy syntax.</li> Instead of: <hr> <p><strong>Advertisement 😃</strong></p> <ul> <li><strong><a href="https://nodeca.github.io/pica/demo/">pica</a></strong> - high quality and fast image resize in browser.</li> <li><strong><a href="https://github.com/nodeca/babelfish/">babelfish</a></strong> - developer friendly i18n with plurals support and easy syntax.</li> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now