getzola / zola

A fast static site generator in a single binary with everything built-in. https://www.getzola.org
https://www.getzola.org
MIT License
13.42k stars 940 forks source link

Feature Request: TLA+ Syntax Highlighting Support #2589

Open jbcurtin opened 1 month ago

jbcurtin commented 1 month ago

Bug Report

Zola currently doesn't have the ability to syntax highlight TLA+ ( https://lamport.azurewebsites.net/tla/tla.html )

Environment

Zola version: latest & documentation

Expected Behavior

Having some kind of syntax highlighting for TLA+ for code blocks

Current Behavior

None

Step to reproduce

Write a post with a code block and mark it tlaplus or tla+

Here is some example of TLA+: https://medium.com/@polyglot_factotum/why-tla-is-important-for-concurrent-programming-365d9eeb491e

clarfonthey commented 1 month ago

Note that you can include custom Sublime syntaxes without it being implemented in Zola upstream: https://www.getzola.org/documentation/content/syntax-highlighting/

This is probably preferred for this case.