Skip to content

Allow specifying the syntax highlighting language

Sören Tempel requested to merge nmeum/turbo-paste:lang-query-parameter into master

Sometimes highlight.js incorrectly autodetects the language. Users can workaround this by explicitly specifying the language via a URL query parameter.

See https://highlightjs.org/usage/

While at it, also make paste_escaped a local variable and update the source code URL in index.tpl to point to the Alpine GitLab.

Merge request reports