docs icon indicating copy to clipboard operation
docs copied to clipboard

Cannot use referenced links inside 'notice' blocks

Open m-vo opened this issue 5 years ago • 1 comments

This is probably a bug in the theme/Hugo I guess?

Reproducer

{{% notice info %}}
See [the referenced link][Link] for more information.  
{{% /notice %}}

[Link]: https://example.com

This will result in a raw See [the referenced link][Link] for more information. in the output.

The the link is correctly substituted if not inside a notice block. Also, links are working fine inside the blocks when not using the reference syntax but defining them in place ([link](https://example.com)).

m-vo avatar Jul 20 '20 11:07 m-vo

Yeah, unfortunately a known limitation - I think of the shortcode renderer itself, not the the theme. For now you'll have to include the link directly instead of using references.

fritzmg avatar Jul 21 '20 10:07 fritzmg