code callouts? (via asciidoc?) #129
Unanswered
colemickens
asked this question in
Support
Replies: 2 comments 1 reply
-
Any source about this? I think Hugo renders just markdown, but not asciidoc. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks! It may be quite a project to provide asciidoc functionality out of
the box, let's see what others may say about it.
Meanwhile, an imperfect substitute - maybe Hugo own codeblock with line
numbers? There are no callouts to line numbers but you can refer to them in
markdown text.
вт, 9 февр. 2021 г., 9:32 Cole Mickens <[email protected]>:
… The example shown is actually from an article about it.
https://blog.arkey.fr/2020/04/23/tackling-hugo-integration-of-asciidoctor/
That article shows how to modify hugo's built-in support for asciidoc,
etc. There are many other articles on it, most of them are linked from that
one I just linked.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#129 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACGWBLR2IFPJLAF4ZLIFPHTS6DJIHANCNFSM4XKDMVDQ>
.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
First, let me say Thank You!
doks
looks really great!I have a killer feature that I need for my docs -- code callouts. Is this possible to achieve with
hugo
anddoks
? I know that it's possible to gethugo
to useasciidoc
to generate HTML, but I'm not sure how that approach would work out withdoks
.Any suggestions? I'd be fine with:
doks
doks
, I'm not sure)I think ideally, though, I could still use asciidoc, as it has some other callout/aside type features that markdown lacks.
Here's an example of what I mean by code callouts:

I'll probably just try and see soon, but I'm curious what others think. thanks!
Beta Was this translation helpful? Give feedback.
All reactions