PageRenderTime 44ms CodeModel.GetById 39ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/doc/core/z_html2markdown.html

https://code.google.com/p/zotonic/
HTML | 40 lines | 33 code | 7 blank | 0 comment | 0 complexity | fc51613a44cdc7dab23070653e0b4e53 MD5 | raw file
 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 2<html>
 3<head>
 4<title>Module z_html2markdown</title>
 5<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
 6</head>
 7<body bgcolor="white">
 8<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
 9<hr>
10
11<h1>Module z_html2markdown</h1>
12<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Convert a html text to markdown syntax.
13<p>Copyright Š 2011 Marc Worrell</p>
14
15<p><b>Authors:</b> Marc Worrell (<a href="mailto:marc@worrell.nl"><tt>marc@worrell.nl</tt></a>).</p>
16
17<h2><a name="description">Description</a></h2>Convert a html text to markdown syntax.
18       This is used when editing TinyMCE texts with the markdown editor.
19<h2><a name="index">Function Index</a></h2>
20<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#convert-1">convert/1</a></td><td></td></tr>
21<tr><td valign="top"><a href="#convert-2">convert/2</a></td><td>Convert a html text to markdown format.</td></tr>
22</table>
23
24<h2><a name="functions">Function Details</a></h2>
25
26<h3 class="function"><a name="convert-1">convert/1</a></h3>
27<div class="spec">
28<p><tt>convert(Html) -&gt; any()</tt></p>
29</div>
30
31<h3 class="function"><a name="convert-2">convert/2</a></h3>
32<div class="spec">
33<p><tt>convert(Html, Options) -&gt; any()</tt></p>
34</div><p>Convert a html text to markdown format. Assumes the html has been sanitized and normalized.</p>
35<hr>
36
37<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
38<p><i>Generated by EDoc, Aug 12 2011, 20:01:39.</i></p>
39</body>
40</html>