b5819b8ed6
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1017 788f1e2b-df1e-0410-8736-df70ead52e1b
50 lines
2.2 KiB
Text
50 lines
2.2 KiB
Text
% 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" />
|
|
</p>
|
|
<p>
|
|
<label for="format">Format:</label><br/>
|
|
<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/>
|
|
<input type="radio" name="format" value="rst" />reStructuredText<br/>
|
|
<input type="radio" name="format" value="docbook" />DocBook XML<br/>
|
|
<input type="radio" name="format" value="latex" />LaTeX<br/>
|
|
<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):
|
|
|
|
- [2markdown]
|
|
- [2markdown+]
|
|
- [2rst]
|
|
- [2docbook]
|
|
- [2LaTeX]
|
|
- [2ConTeXt]
|
|
- [2RTF]
|
|
- [2man]
|
|
|
|
(Inspired by [the Asciinator].)
|
|
|
|
[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;
|
|
[2rst]: javascript:location.href='http://johnmacfarlane.net/pandoc/html2x.pl?format=rst&url='+document.location.href;
|
|
[2docbook]: javascript:location.href='http://johnmacfarlane.net/pandoc/html2x.pl?format=docbook&url='+document.location.href;
|
|
[2LaTeX]: javascript:location.href='http://johnmacfarlane.net/pandoc/html2x.pl?format=latex&url='+document.location.href;
|
|
[2ConTeXt]: javascript:location.href='http://johnmacfarlane.net/pandoc/html2x.pl?format=context&url='+document.location.href;
|
|
[2RTF]: javascript:location.href='http://johnmacfarlane.net/pandoc/html2x.pl?format=rtf&url='+document.location.href;
|
|
[2man]: javascript:location.href='http://johnmacfarlane.net/pandoc/html2x.pl?format=man&url='+document.location.href;
|
|
|
|
[pandoc]: /pandoc/
|
|
[the Asciinator]: http://www.aaronsw.com/2002/html2text/
|
|
|