Zulip Chat Archive

Stream: new members

Topic: CDN for syntax highlight


Asei Inoue (Sep 22 2023 at 09:14):

Can Lean4 syntax highlighting be done via CDN?

Anne Baanen (Sep 22 2023 at 09:26):

What does CDN mean in this context? Search seems to give only "content delivery network", and I'm not sure how that fits the question.

Asei Inoue (Sep 22 2023 at 11:38):

For example, in mdbook, is it possible to put a script tag so that js is loaded remotely and syntax highlighting is enabled? I'm asking if there is a way other than placing the highlight.js file directly in the repository.

Mauricio Collares (Sep 22 2023 at 11:50):

That would be a good option, but if this is ever implemented I hope it is opt-in for privacy reasons.

Mauricio Collares (Sep 22 2023 at 11:51):

(I use Decentraleyes, so maybe it doesn't matter much in my particular case)


Last updated: Dec 20 2023 at 11:08 UTC