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

View File

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