console.pug
– Insert consoles everywhere ¶
View source code on GithubBrython console¶
mixin brython-console()
- if ("alt" in attributes)
- alt = attributes.alt;
- delete attributes.alt;
- else
- alt = true;
iframe(src="http://brython.info/console.html"
scrolling="no"
width="75%"
height="165")&attributes(attributes)
- if (alt)
| Your browser does not support iframes.
-
+brython-console
()(width="75%" height="165")¶ Embed a Python console iframe made with Brython for the browser.
Usage¶
Input
+brython-console()
Output
<iframe width="75%" height="165" src="http://brython.info/console.html"></iframe>
Render
Javascript console ¶
mixin js-console()
- if ("alt" in attributes)
- alt = attributes.alt;
- delete attributes.alt;
- else
- alt = true;
iframe(src="https://jsconsole.com/"
width="75%"
height="165")&attributes(attributes)
- if (alt)
| Your browser does not support iframes.
-
+js-console
()(width="75%" height="165")¶ Embed a Javascript console iframe from http://jsconsole.com/.
Usage¶
Input
+js-console()
Output
<iframe width="75%" height="165" src="https://jsconsole.com/"></iframe>
Render