Hi David,

On Tue, Nov 9, 2021 at 2:14 AM David Jencks <david.a.jen...@gmail.com> wrote:
>
> (prompted by seeing a recent highlight.js upgrade in the website)
>
> Someone pointed out shiki (https://shiki.matsu.io) on the Antora zulip 
> recently and I wrote an Antora extension to set it up and use it as the 
> (build time) syntax highlighter in Asciidoctor.
>
> The main point is that the syntax highlighting is grammar based, using the 
> same parsers as VSCode.
>
> There isn’t all that much code to be highlighted in the docs, but I’ll make a 
> demo to compare. Perhaps using it would be a good idea.
>
> My project is antora-shiki <https://gitlab.com/djencks/antora-shiki>.

That looks interesting, I would like to trimm down on JavaScript usage
where appropriate. Though the Hugo bits also use highlight.js, so some
blog posts take advantage of this. I'd like to see a syntax
highlighter that doesn't use inline CSS also, does Shiki have this
option?

zoran
-- 
Zoran Regvart

Reply via email to