aboutsummaryrefslogtreecommitdiff
path: root/node_modules/babel-code-frame/README.md
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-12-10 21:51:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-12-10 21:51:33 +0100
commit0469abd4a9c9270a1fdc962969e36e63699af8b4 (patch)
treef9864d4a4148621378958794cbbfdc2393733283 /node_modules/babel-code-frame/README.md
parent6947e79bbc258f7bc96af424ddb71a511f0c15a3 (diff)
upgrade dependencies
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`.