Skip to content

Commit

Permalink
Add tex alias to latex mode
Browse files Browse the repository at this point in the history
  • Loading branch information
davido committed Feb 28, 2021
1 parent b9b85f9 commit 3b96cdc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/languages/latex.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,10 @@ export default function(hljs) {

return {
name: 'LaTeX',
aliases: ['TeX'],
aliases: [
'tex',
'TeX',
],
contains: [
...VERBATIM,
...EVERYTHING_BUT_VERBATIM
Expand Down

0 comments on commit 3b96cdc

Please sign in to comment.