Skip to content

Commit 3b96cdc

Browse files
committed
Add tex alias to latex mode
1 parent b9b85f9 commit 3b96cdc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/languages/latex.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,10 @@ export default function(hljs) {
239239

240240
return {
241241
name: 'LaTeX',
242-
aliases: ['TeX'],
242+
aliases: [
243+
'tex',
244+
'TeX',
245+
],
243246
contains: [
244247
...VERBATIM,
245248
...EVERYTHING_BUT_VERBATIM

0 commit comments

Comments
 (0)