Run
​x
 
# Markbox
​
Parse your code in markdown into CodeSandbox.
​
[![NPM](https://badgen.net/npm/v/markbox)](https://npm.im/markbox)
[![CircleCI](https://circleci.com/gh/djyde/markbox/tree/master.svg?style=shield)](https://circleci.com/gh/djyde/markbox/tree/master)
​
> This preview is not real time parsed. After modifying the content, you need to click the `Run` button to preview.
​
## Usage
​
```
$ npm i markbox
```
​
Markbox will parse your markdown using [marked](https://github.com/markedjs/marked) and replace all of codes in markdown with Codesandbox embed iframe.
​
<!-- ignore -->
​
```javascript
const markbox = require('markbox')
​
const markdownContent = `Your markdown content...`
​
const html = await markbox.parse(markdownContent)
```
​
## Rules