aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-09-16 19:40:17 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-09-16 19:40:17 +0000
commit2094534b3cd88c7b5addb27ef52900c737cd1e35 (patch)
treec144b16f0f2ebdfbdfee3b4967bd0ac1d3dfc290
parente00b892bf6959b904cd32927c62c14bb3bac7f6f (diff)
downloadpandoc-2094534b3cd88c7b5addb27ef52900c737cd1e35.tar.gz
Modified html2x webpage.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1021 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r--web/html2x.txt29
1 files changed, 17 insertions, 12 deletions
diff --git a/web/html2x.txt b/web/html2x.txt
index d803cc337..8bb9c1e5b 100644
--- a/web/html2x.txt
+++ b/web/html2x.txt
@@ -1,15 +1,18 @@
% html2x
-This form uses [pandoc] to convert a web page to markdown,
-reStructuredText, DocBook XML, LaTeX, RTF, or a unix man page.
-
<form action="/pandoc/html2x.pl" method="get">
<p>
<label for="url">URL:</label>
<input type="text" size="60" name="url" />
+<input type="submit" value="Convert" />
</p>
-<p>
-<label for="format">Format:</label><br/>
+<table>
+<tr>
+<th>Convert to:</th>
+<th style="padding-left: 1em;">Bookmarklets<br/>(right-click, add bookmark)</th>
+</tr>
+<tr>
+<td style="border-right: 1px solid gray; padding-right: 2em;">
<input type="radio" name="format" value="markdown" checked="checked" />Markdown<br/>
<input type="radio" name="format" value="markdown+" />Markdown with
<a href="/pandoc/README.html#pandocs-markdown-vs-standard-markdown">pandoc extensions</a><br/>
@@ -19,12 +22,8 @@ reStructuredText, DocBook XML, LaTeX, RTF, or a unix man page.
<input type="radio" name="format" value="context" />ConTeXt<br/>
<input type="radio" name="format" value="rtf" />Rich Text Format (RTF)<br/>
<input type="radio" name="format" value="man" />Groff man page
-</p>
-<input type="submit" value="Convert" /><br/>
-</form>
-
-Javascript bookmarklets (right-click and add bookmark):
-
+</td>
+<td style="padding-left: 1em;">
- [2markdown]
- [2markdown+]
- [2rst]
@@ -33,8 +32,14 @@ Javascript bookmarklets (right-click and add bookmark):
- [2ConTeXt]
- [2RTF]
- [2man]
+</td>
+</table>
+</form>
+
+<center>
+Powered by [pandoc]. Inspired by [the Asciinator].
-(Inspired by [the Asciinator].)
+</center>
[2markdown]: javascript:location.href='http://johnmacfarlane.net/pandoc/html2x.pl?format=markdown&url='+document.location.href;
[2markdown+]: javascript:location.href='http://johnmacfarlane.net/pandoc/html2x.pl?format=markdown+&url='+document.location.href;