fix demo formatting

This commit is contained in:
Josh de Leeuw 2021-10-04 11:06:26 -04:00
parent 58f4887217
commit 0efb22c46f
3 changed files with 6 additions and 4 deletions

View File

@ -40,7 +40,8 @@ stimulus | string | The HTML content that was displayed on the screen.
prompt: "<p>What color is the ink?</p>"
};
```
=== "Demo"
=== "Demo"
<div style="text-align:center;">
<iframe src="../../demos/jspsych-html-button-response-demo1.html" width="90%;" height="600px;" frameBorder="0"></iframe>
</div>

View File

@ -37,8 +37,9 @@ In addition to the [default data collected by all plugins](../overview/plugins.m
choices: ['r', 'g', 'b'],
prompt: "<p>Is the ink color (r)ed, (g)reen, or (b)lue?</p>"
};
```
=== "Demo"
```
=== "Demo"
<div style="text-align:center;">
<iframe src="../../demos/jspsych-html-keyboard-response-demo1.html" width="90%;" height="500px;" frameBorder="0"></iframe>
</div>

View File

@ -57,7 +57,7 @@ slider_start | numeric | The starting value of the slider.
};
```
=== "Demo"
=== "Demo"
<div style="text-align:center;">
<iframe src="../../demos/jspsych-html-slider-response-demo1.html" width="90%;" height="600px;" frameBorder="0"></iframe>
</div>