Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for LaTeX? #177

Open
AStcherbinine opened this issue Oct 12, 2022 · 1 comment
Open

Add support for LaTeX? #177

AStcherbinine opened this issue Oct 12, 2022 · 1 comment

Comments

@AStcherbinine
Copy link

Hello,
Looks like the module does not support highlighting Latex files currently, would it be possible to add it?
Especially for the \textcolor command from the xcolor package. E.g.,

\textcolor{red}{red text}
\textcolor[HTML]{FF0000}{other red text}

Thanks!

@ap
Copy link
Owner

ap commented Oct 12, 2022

Almost certainly possible. I’ll take a look.

This syntax does somewhat cut against the plugin’s grain in one obvious way: it doesn’t include the # in front of the RGB value (as most syntaxes do). But that alone just means it’ll take more work to support than usual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants