From b733c6766ab4f584ea1c38ddf8e79bb4b769bf88 Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Wed, 23 Mar 2016 19:06:45 +0100 Subject: [PATCH] babel-code-frame: Add missing documentation. I used the README for babel-generator as inspiration. --- packages/babel-code-frame/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/babel-code-frame/README.md b/packages/babel-code-frame/README.md index b9a5c6ca34..ca6f5c1664 100644 --- a/packages/babel-code-frame/README.md +++ b/packages/babel-code-frame/README.md @@ -30,3 +30,11 @@ console.log(result); | ^ 3 | } ``` + +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