Skip to content

Commit

Permalink
(chore) rename tex grammar to latex
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed Dec 15, 2019
1 parent e8e8d7c commit 188a198
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ work for you, you can specify the language in the `class` attribute:
| Java | java, jsp | |
| JavaScript | javascript, js, jsx | |
| Kotlin | kotlin, kt | |
| LaTeX | tex | |
| Leaf | leaf | |
| Lasso | lasso, ls, lassoscript | |
| Less | less | |
Expand Down Expand Up @@ -193,7 +194,6 @@ work for you, you can specify the language in the `class` attribute:
| Tcl | tcl, tk | |
| Terraform (HCL) | terraform, tf, hcl | [highlightjs-terraform](https://github.com/highlightjs/highlightjs-terraform) |
| Test Anything Protocol | tap | |
| TeX | tex | |
| Thrift | thrift | |
| TP | tp | |
| Twig | twig, craftcms | |
Expand Down
1 change: 1 addition & 0 deletions VERSION_10_BREAKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Incompatibilities:

Renamed Language Files:
- chore(parser): rename `cs.js` to `csharp.js` [Josh Goebel][]
- chore(parser): rename `tex.js` to `latex.js` [Josh Goebel][]

Legacy Browser Issues:
- **We're now using ES2015 features in the codebase. Internet Explorer 11 is no longer supported.**
Expand Down
3 changes: 2 additions & 1 deletion src/languages/tex.js → src/languages/latex.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Language: TeX
Language: LaTeX
Author: Vladimir Moskva <vladmos@gmail.com>
Website: https://www.latex-project.org
Category: markup
Expand Down Expand Up @@ -45,6 +45,7 @@ function(hljs) {
};

return {
aliases: ['tex'],
contains: [
COMMAND,
{
Expand Down
File renamed without changes.

0 comments on commit 188a198

Please sign in to comment.