aboutsummaryrefslogtreecommitdiff
path: root/docs/try.html
diff options
context:
space:
mode:
authorpkova <pyry.kovanen@gmail.com>2021-07-31 23:37:23 +0300
committerpkova <pyry.kovanen@gmail.com>2021-07-31 23:37:23 +0300
commitf9925688329fb02b46e524cd31ac733f37549eeb (patch)
tree7a0e0a52f04da91b4705cf8b19f606d5710f87cc /docs/try.html
parentc2afaad9f6951c2f635f2ac63842f190dd799573 (diff)
Add customizable prefix key in js repl
Diffstat (limited to 'docs/try.html')
-rw-r--r--docs/try.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/try.html b/docs/try.html
index d5871c0d..0faa3131 100644
--- a/docs/try.html
+++ b/docs/try.html
@@ -9,10 +9,11 @@
li { margin:0.7em 0; }
textarea { padding:0.2em; }
.perm, .count { font-size:0.7em; margin:-0.2em 0.8em 0 0; }
- .run, .doexplain, .perm { float:right; margin-left:0.4em; }
+ .run, .doexplain, .perm, .prfx { float:right; margin-left:0.4em; }
.doexplain.selected { background:#777; }
.count { float:left; opacity:0.6; }
.rslt { border:none; background:none; min-height:8em; }
+ .prfx { width: 1.1em; }
</style>
</head>
<body>
@@ -21,6 +22,7 @@
<div class="kb"></div>
<textarea class="code" rows="8" autofocus></textarea>
<div class="count"></div>
+ <input class="prfx" type="text" maxlength="1" value="\"/>
<input class="run" type="submit" value="Run (or shift-enter)"/>
<input class="doexplain" type="button" value="Explain"/>
<a class="perm" href="#" title="Link with the code above embedded">permalink</a>
@@ -30,7 +32,7 @@
<p>
Notes:
<ul>
- <li>You can type special characters with a back<em>slash</em> prefix, as shown by hovering over the character bar above. Documentation links for primitives are <a href="doc/primitive.html#functions">here</a>.</li>
+ <li>You can type special characters with a back<em>slash</em> (customizable) prefix, as shown by hovering over the character bar above. Documentation links for primitives are <a href="doc/primitive.html#functions">here</a>.</li>
<li>Any modifier with enter will execute, not just shift. The code window is vertically resizeable.</li>
<li>Support for function headers and multiple bodies is missing.</li>
</ul>