davidtheclark / davidtheclark/babel-plugin-transform-syntax-highlight

.babelrc example typos

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Here is the example `.babelrc` in the readme:

```diff
// .babelrc
{
"plugins": [
"transform-syntax-highlighting",
{
"packageName": "babel-highlighting",
"highlight": "prism",
"delimiters": ["$$", "$$"]
}
]
}
```

- The plugin name and options should be wrapped in an array.
- The plugin name should be `transform-syntax-highlight`, not `transform-syntax-highlighting`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.