-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
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
Automatic linking when syntax highlighting #17
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Re: <p class="speshal-fancy-custom">
This is <strong>raw HTML</strong>, inside Markdown.
</p> And the output is rendered correctly: I think the relevant bit there is the
[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true That way you would have to insist on this configuration, but would get away without an extra shortcode, but this option is already mentioned in the README anyway? |
@jemus42 to see the problem you have to indent the raw html by 4 spaces
|
Currently a bit slow; will have to improve performance in downlit. |
Need to post process to:
Note that goldmark does not preserve raw html (like pandoc does), so it would need to include a shortcode in the output, along the lines of https://anaulin.org/blog/hugo-raw-html-shortcode/
The text was updated successfully, but these errors were encountered: