1.1.10 • Published 2 years ago
pynbtemplate v1.1.10
pynbtemplate
A Vue component to render python notebooks
Install the component using
npm install pynbtemplate
Install the Vue plugin inside your vue app
js.use(PynbtemplateSimple)
Import css
import 'pynbtemplate/dist/pynbtemplate.css'
Now you are good to go
Prop | Type | Default | Description |
---|---|---|---|
width | px rem em... | max-content | Width of the container |
height | px rem em... | max-content | Height of the container |
gist | boolean | false | Provide a github gist like look |
code_font_size | px rem em ... | 1.75rem | font size of the code |
json | object | - | JSON schema of the code |