-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
preprocessor: add ability to set language distinct from extension
In code blocks, we currently use the extension of a file to set the language of the code block. In some situations we need to vary this. Specifically, because we do not yet have CUE syntax highlighting we need to set the language for .cue files to be text, because setting the language as cue breaks other features (like line numbers) in a rendered code block. The override to set the language for .cue files to "text" follows in a later CL. Signed-off-by: Paul Jolly <[email protected]> Change-Id: I438d57e733e46adaef93c8ab5d84574c70262335 Preprocessor-No-Write-Cache: true Dispatch-Trailer: {"type":"trybot","CL":1169624,"patchset":1,"ref":"refs/changes/24/1169624/1","targetBranch":"alpha"}
- Loading branch information
Showing
3 changed files
with
11 additions
and
4 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