diff --git a/README.md b/README.md index 60f0b28bc0..8e343a4eb7 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,14 @@ $ cat hello.html $ marked --help ``` +**Node.js** + +```js +import { marked } from 'marked'; +const html = marked.parse('# Marked in Node.js'); +console.log(html); +``` + **Browser** ```html