Skip to content

Commit

Permalink
Fix typo in docs
Browse files Browse the repository at this point in the history
Reviewed-by: Titus Wormer <tituswormer@gmail.com>

Closes GH-56.
  • Loading branch information
rmadsen committed Oct 17, 2021
1 parent 9d41a65 commit c26361f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Needed if you’re using [`refractor/core`][browser].
###### Example

```js
import {refractor} from 'refractor/core.js'
import {refractor} from 'refractor/lib/core.js'
import markdown from 'refractor/lang/markdown.js'

refractor.register(markdown)
Expand Down Expand Up @@ -151,7 +151,7 @@ Register a new `alias` for the `name` language.
###### Example

```js
import {refractor} from 'refractor/core.js'
import {refractor} from 'refractor/lib/core.js'
import markdown from 'refractor/lang/markdown.js'

refractor.register(markdown)
Expand All @@ -176,7 +176,7 @@ Virtual node representing the highlighted value ([`Root`][root]).
###### Example

```js
import {refractor} from 'refractor/core.js'
import {refractor} from 'refractor/lib/core.js'
import css from 'refractor/lang/css.js'

refractor.register(css)
Expand Down Expand Up @@ -205,7 +205,7 @@ Check if a `language` ([name or alias][syntax]) is registered.
###### Example

```js
import {refractor} from 'refractor/core.js'
import {refractor} from 'refractor/lib/core.js'
import markdown from 'refractor/lang/markdown.js'

console.log(refractor.registered('markdown'))
Expand Down Expand Up @@ -233,7 +233,7 @@ List all registered languages ([names and aliases][syntax]).
###### Example

```js
import {refractor} from 'refractor/core.js'
import {refractor} from 'refractor/lib/core.js'
import markdown from 'refractor/lang/markdown.js'

console.log(refractor.listLanguages())
Expand Down

0 comments on commit c26361f

Please sign in to comment.