-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Chroma doesn't output highlighting in a table #3915
Comments
I don't know that it's "gone forever", but it's not supported currently. Keep in mind that Chroma is brand new, as in, 4 months old. I think the Hugo team only heard about it a few weeks ago. Give Alec and the community time to add features, and we'll see how this plays out. |
@mckern, please see Alec's comment: alecthomas/chroma#45 (comment). |
@mckern, if you set <div class="highlight"><pre class="chroma"><code class="language-text" data-lang="text"><span class="ln">1</span>interface Tunnel0
<span class="ln">2</span>description GRE tunnel to other location
<span class="ln">3</span>ip address 192.168.254.1 255.255.255.252
<span class="ln">4</span>tunnel source FastEthernet0/0
<span class="ln">5</span>tunnel destination 172.31.254.1
<span class="ln">6</span>crypto map tunnel-ipsec-map</code></pre>
</div> |
Thank you for the suggestion. I tried that but it doesn't work for what I specifically want. Here's an example of what I'm doing -- I use the |
@mckern, |
@mckern I do want to add table support, for the exact reason that copy+pasting is much more convenient. It's on The List™. |
Also note that I kept the options syntax identical between Chrome and Pygments (for several reasons), but that also means that you should just transparently and eventually "get more". |
Hey, just chiming in to say thanks for this. The constant iteration and improvement on Hugo is so impressive, and turning around something like this in less than a month? It's amazing. Thanks again. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I've been using the highlighting shortcode (eg
{{< highlight ini "linenos=table" >}})
to output line numbers into one column and code into another, so I can style numbers separately. Is this feature gone forever unless I fallback to Pygments?The text was updated successfully, but these errors were encountered: