By adding this to config.toml
[markup.goldmark.renderer]
unsafe = true # Allow HTML in md
I can write scripts and HTML in .md.
However I can’t in shortcodes.
By adding this to config.toml
[markup.goldmark.renderer]
unsafe = true # Allow HTML in md
I can write scripts and HTML in .md.
However I can’t in shortcodes.
Hi @djibe
have you saved the shortcode .html file to the correct location? shortcode files need to be saved to either layouts/shortcodes
or <theme name>/layouts/shortcodes
what is the error ?? when you run hugo -server ?
You can also post the shortcode here - maybe we can check it