This shortcode add support for JSRun, a online code editor for testing your codes, such as JavaScript, CSS, HTML, Go, PHP and so on.
1{{< jsrun [id] >}}
Position | Name | Type | Required | Default | Description |
---|---|---|---|---|---|
#0 | id | string | Y | You fiddle ID/hash. | |
theme | string | light | light or dark . | ||
tabs | string | all | Tabs separated by comma, i.e. js,html,css,result . | ||
height | number | 300 | Frame height. | ||
mode | string | Operating mode for other languages, quick or term . |
1{{< jsrun QG6Kp >}}
1{{< jsrun id=e3dKp mode=term >}}
1{{< jsrun id=Q3dKp mode=quick >}}
1{{< jsrun id=QG6Kp tabs=html,css,result >}}
1{{< jsrun id=QG6Kp theme=dark >}}
1{{< jsrun id=QG6Kp height=200 >}}
1{{< jsrun id=QG6Kp tabs=html,css,result theme=dark >}}