-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, even without a class on `code`, its programming language was inferred, and it was highlighted anyway. It was possible to turn this by passing `subset: false`, an overload of an option that also has another job. This commit reverts this behavior, and removes the overload in favor of a new option: pass `detect: true` to automatically detect the programming language of code blocks. The default, `detect: false`, does not do that. If you had `subset: false`, you can remove that line. If you want the previous behavior, pass `detect: true`. Closes GH-21.
- Loading branch information
Showing
3 changed files
with
55 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters