We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As per JohannesKaufmann/html-to-markdown#49, some websites don't use semantic markup but specify <tt> directly.
<tt>
Adding this rule for the markdown converter improves the output considerably:
converter.AddRules( md.Rule { Filter: []string{"tt"}, Replacement: func(content string, selec *goquery.Selection, opt *md.Options) *string { content = "`" + content + "`" return &content }, }, );
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
Bump html-to-markdown to v1.3.5; Fixes lapwat#5
87abad4
No branches or pull requests
As per JohannesKaufmann/html-to-markdown#49, some websites don't use semantic markup but specify
<tt>
directly.Adding this rule for the markdown converter improves the output considerably:
The text was updated successfully, but these errors were encountered: