Skip to content
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

Adding a shortcode rawhtml #536

Closed
wehrend opened this issue Apr 22, 2023 · 3 comments
Closed

Adding a shortcode rawhtml #536

wehrend opened this issue Apr 22, 2023 · 3 comments

Comments

@wehrend
Copy link

wehrend commented Apr 22, 2023

Suggestion to add a shortcode "rawhtml" to allow embedding of html pages or sections,
like done here: https://anaulin.org/blog/hugo-raw-html-shortcode/

@alex-shpak
Copy link
Owner

Hi!
Perhaps you don't need a shortcode for this, be default theme used markup.goldmark.renderer.unsafe= true to render some other shortcodes, so you can put HTML straight into markdown file.

@wehrend
Copy link
Author

wehrend commented Apr 24, 2023

Not sure if that will work, since I am using Asciidoc(tor) instead of markdown.
It would be nice if this small little change got in - then I could use the latest version without any further changes.

@alex-shpak
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants