aboutsummaryrefslogtreecommitdiff
path: root/node_modules/babel-code-frame/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/babel-code-frame/README.md')
-rw-r--r--node_modules/babel-code-frame/README.md29
1 files changed, 23 insertions, 6 deletions
diff --git a/node_modules/babel-code-frame/README.md b/node_modules/babel-code-frame/README.md
index 0257a2da1..7ef5368d3 100644
--- a/node_modules/babel-code-frame/README.md
+++ b/node_modules/babel-code-frame/README.md
@@ -35,9 +35,26 @@ If the column number is not known, you may pass `null` instead.
## Options
-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
+### `highlightCode`
+
+`boolean`, defaults to `false`.
+
+Toggles syntax highlighting the code as JavaScript for terminals.
+
+### `linesAbove`
+
+`number`, defaults to `2`.
+
+Adjust the number of lines to show above the error.
+
+### `linesBelow`
+
+`number`, defaults to `3`.
+
+Adjust the number of lines to show below the error.
+
+### `forceColor`
+
+`boolean`, defaults to `false`.
+
+Enable this to forcibly syntax highlight the code as JavaScript (for non-terminals); overrides `highlightCode`.