chroma
chroma copied to clipboard
WebVTT syntax highlighting
What problem does this feature solve?
Having WebVTT syntax highlighting in Hugo
What feature do you propose?
WebVTT syntax highlighting
Here is a textmate syntax which might be useful: https://github.com/pepri/subtitles-editor/blob/master/syntaxes/subtitles.tmLanguage.json
Could you give an example of a snippet that can be highlighted with that syntax? I read it and it's a little bit complex, I think we can do that with less complex RegEx.
Thanks for looking into it! The WebVTT specification has lots of example snippets. Is that what you were looking for?