Skip to content

Commit

Permalink
Fix language guess failure
Browse files Browse the repository at this point in the history
Ref #11
  • Loading branch information
facelessuser committed May 17, 2018
1 parent c609e96 commit 909e9f7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion MarkdownPreview.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,11 @@
"markdown.extensions.def_list",
"markdown.extensions.tables",
"markdown.extensions.abbr",
"markdown.extensions.codehilite",
{
"markdown.extensions.codehilite": {
"guess_lang": false
}
},
// Extra's Markdown parsing in raw HTML cannot be
// included by itself, but "pymdownx" exposes it so we can.
"pymdownx.extrarawhtml",
Expand Down
5 changes: 5 additions & 0 deletions docs/src/markdown/changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changes

## 2.0.2

- Code highlighting should have guessing disabled by default.
- Fix failure when code highlighting has guessing enabled, but the user specified a language name which has no lexer.

## 2.0.1

- Fix missing code highlight extension.
Expand Down

0 comments on commit 909e9f7

Please sign in to comment.