Include example in readme
1 files changed, 16 insertions(+), 0 deletions(-)

M README.rst
M README.rst +16 -0
@@ 11,3 11,19 @@ It differs from other packages in these 
 - Permissive license (Apache)
 - Renders the HTML to text suitable for an text/plain email body (doesn't
   convert to a structured text format such as markdown).
+
+
+Usage::
+
+    >>> import htmltextconvert
+    >>> print(
+    ...     htmltextconvert.html_to_text(
+    ...         """
+    ...         <p>This is a paragraph.</p>
+    ...         <p>This is another paragraph.</p>
+    ...         """
+    ...     )
+    ... )
+    This is a paragraph
+
+    This is another paragraph