You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.dtx file is a special LaTeX file used in literate programming in which all % characters at the beginning of code lines are not regarded as comment characters. In vscode with the LaTeX-workshop plugin (switch the language in the lower status bar to DocTeX) the code (take docstrip.dtx for example) is rendered as follows:
How to make rouge support this language?
The text was updated successfully, but these errors were encountered:
@SwitWu We can add .dtx as an extension in the Tex lexer and that will allow Rouge to highlight .dtx. From a cursory look, think the existing Tex lexer does not pick up all the extra nuances introduced in .dtx so we might also want to extend it.
.dtx
file is a special LaTeX file used in literate programming in which all%
characters at the beginning of code lines are not regarded as comment characters. In vscode with the LaTeX-workshop plugin (switch the language in the lower status bar toDocTeX
) the code (takedocstrip.dtx
for example) is rendered as follows:How to make rouge support this language?
The text was updated successfully, but these errors were encountered: