Minor trypandoc landing page improvements.
This commit is contained in:
parent
e70c6c40c1
commit
704a10a29e
1 changed files with 5 additions and 5 deletions
|
@ -70,10 +70,6 @@
|
||||||
<option value="twiki">TWiki</option>
|
<option value="twiki">TWiki</option>
|
||||||
<option value="vimwiki">Vimwiki</option>
|
<option value="vimwiki">Vimwiki</option>
|
||||||
</select>
|
</select>
|
||||||
<input type="checkbox" id="standalone" name="standalone">
|
|
||||||
<label for="standalone">Standalone
|
|
||||||
<a href="https://pandoc.org/MANUAL.html#option--standalone" target="_blank">(?)</a>
|
|
||||||
</label>
|
|
||||||
<br/>
|
<br/>
|
||||||
<textarea id="text" maxlength="3000" rows="15"></textarea>
|
<textarea id="text" maxlength="3000" rows="15"></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
@ -125,6 +121,10 @@
|
||||||
<option value="textile">Textile</option>
|
<option value="textile">Textile</option>
|
||||||
<option value="zimwiki">ZimWiki</option>
|
<option value="zimwiki">ZimWiki</option>
|
||||||
</select>
|
</select>
|
||||||
|
<input type="checkbox" id="standalone" name="standalone">
|
||||||
|
<label for="standalone">Standalone
|
||||||
|
<a href="https://pandoc.org/MANUAL.html#option--standalone" target="_blank">(?)</a>
|
||||||
|
</label>
|
||||||
<br/>
|
<br/>
|
||||||
<pre id="results"></pre>
|
<pre id="results"></pre>
|
||||||
</div>
|
</div>
|
||||||
|
@ -154,7 +154,7 @@ function newpage() {
|
||||||
document.getElementById("text").value = text;
|
document.getElementById("text").value = text;
|
||||||
let from = params.get("from") || "markdown";
|
let from = params.get("from") || "markdown";
|
||||||
document.getElementById("from").value = from;
|
document.getElementById("from").value = from;
|
||||||
let to = params.get("to") || "html";
|
let to = params.get("to") || "html5";
|
||||||
document.getElementById("to").value = to;
|
document.getElementById("to").value = to;
|
||||||
let standalone = params.get("standalone") === "true";
|
let standalone = params.get("standalone") === "true";
|
||||||
document.getElementById("standalone").checked = standalone;
|
document.getElementById("standalone").checked = standalone;
|
||||||
|
|
Loading…
Add table
Reference in a new issue