Add forceColor option to babel-code-frame (#4913)

This commit is contained in:
Joe Haddad
2016-12-01 23:43:08 -05:00
committed by Henry Zhu
parent b43191d402
commit 06820ca17d
3 changed files with 43 additions and 18 deletions

View File

@@ -40,3 +40,4 @@ name | type | default | description
highlightCode | boolean | `false` | Syntax highlight the code as JavaScript for terminals
linesAbove | number | 2 | The number of lines to show above the error
linesBelow | number | 3 | The number of lines to show below the error
forceColor | boolean | `false` | Forcibly syntax highlight the code as JavaScript (for non-terminals); overrides highlightCode