I'm using hugo
as packaged in Debian, using the default renderer (goldmark
) and the kube theme.
$ hugo version
Hugo Static Site Generator v0.78.2/extended linux/amd64 BuildDate: 2020-11-16T11:43:13Z
I would like include a hyperlink to a text that includes angle brackets.
something like:
[`https://example.com/<slug>`](https://example.com/)
which should come out like https://example.com/<slug>
(and which is working properly here on StackOverflow).
However, with hugo, that same input renders (as shown in the browser) as:
<code>https://example.com/<slug></code>
btw, the above string is hyperlinked to https://example.com/
, so that part is working.
without `
I wouldn't mind leaving out the code-formatting, but it doesn't work either (and produces a different, but still wrong, output).
The input is:
[https://example.com/<slug>](https://example.com/)
Whereas the hugo-rendered output is (as shown in the browser):
https://example.com/<!-- raw HTML omitted -->
(btw, StackOverflow renders this as https://example.com/, so it seems to not work anyhow...)
with <
and >
I also tried:
[http://example.com/<slug>](http://example.com/)
But that renders as:
http://example.com/<slug>
?
So how would I proceed to crate "https://example.com/<slug>
" in hugo.