Add support for JSFiddle, a online code editor for testing your JavaScript, CSS, HTML.
1{{< jsfiddle [user] [id] >}}
user
Position | Name | Type | Required | Default | Since |
---|---|---|---|---|---|
#0 | user | string | ✓ | - | - |
User ID.
id
Position | Name | Type | Required | Default | Since |
---|---|---|---|---|---|
#1 | id | string | ✓ | - | - |
Fiddle ID.
theme
Position | Name | Type | Required | Default | Since |
---|---|---|---|---|---|
- | theme | string | - | - | - |
Theme.
Available options: light
, dark
.
tabs
Position | Name | Type | Required | Default | Since |
---|---|---|---|---|---|
- | tabs | string | - | js,html,css,result | - |
The comma-separated tabs.
Available options: js
, html
, css
, result
.
1{{< jsfiddle razonyang 6cp7xof1 >}}
1{{< jsfiddle user=razonyang id=6cp7xof1 tabs=html,css,result >}}
1{{< jsfiddle user=razonyang id=6cp7xof1 theme=dark >}}
1{{< jsfiddle user=razonyang id=6cp7xof1 tabs=html,css,result theme=dark >}}