A Vue component to render python notebooks
Install the component using
npm install pynbtemplate
Install the Vue plugin inside your vue app
Vue.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 |