A HonKit plugin for [Sandpack](https://sandpack.codesandbox.io/docs/).
npm install honkit-plugin-sandpackA HonKit plugin for Sandpack.
npm install honkit-plugin-sandpack
Via book.json:
``json`
{
"plugins": [
"sandpack"
]
}
Integration code with HTML comments.
`js`
document.querySelector("h1").style.color = "red";
More complex example.
`js`
// Todo App
For more details, See example
- does not work in vanilla environment"enviroment": "parcel"
- Use or use externalResources option
- parcel does bundle the in index.html
- Styles and fonts in the head tag of index.html are not reflecting for react. · Issue #32 · codesandbox/sandpack
- [ ] Write How to Tests
1. Fork it!
2. Create your feature branch: git checkout -b my-new-featuregit commit -am 'Add some feature'
3. Commit your changes: git push origin my-new-feature`
4. Push to the branch:
5. Submit a pull request :D
MIT