Skip to content

Commit

Permalink
docs: add missing option
Browse files Browse the repository at this point in the history
  • Loading branch information
hswolff authored and sergioramos committed Nov 23, 2020
1 parent 94b4d9a commit 48a9fd7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,17 @@ Required CSS:
}
```

### `transformInlineCode`

Add relevant class names to inline code snippets. For example when you use single backtick code examples.

```js
remark()
.use(require('remark-prism'), { transformInlineCode: true })
.use(require('remark-html'))
.process(src, console.log);
```

### plugins

It supports some [Prism](https://prismjs.com/) plugins:
Expand Down

0 comments on commit 48a9fd7

Please sign in to comment.