Closed ljrk0 closed 2 years ago
Note that this will not deal with collapsing of inline spaces, unescaping, etc. -- the logic already exists here https://github.com/JohannesKaufmann/html-to-markdown/blob/master/commonmark.go#L297 but uses private methods that'd need to be duplicated.
As per https://github.com/JohannesKaufmann/html-to-markdown/issues/49, some websites don't use semantic markup but specify
<tt>
directly.Adding this rule for the markdown converter improves the output considerably: