Lines Matching refs:html
5 Python Markdown converts Markdown to HTML and can be used as a library or
12 html = md.convert(your_text_string)
16 markdown source.txt > destination.html
69 HTML_REMOVED_TEXT = "[HTML_REMOVED]" # text used instead of HTML in safe mode
118 """Check if the tag is a block level HTML tag."""
180 """Convert Markdown to HTML."""
197 * safe_mode: Disallow raw html. One of "remove", "replace" or "escape".
201 * "html4": Outputs HTML 4
202 * "html": Outputs latest supported version of HTML (currently HTML 4).
204 and "html4") be used as "xhtml" or "html" may change in the future
270 self.inlinePatterns["html"] = \
303 'html' : html4.to_html_string,
363 Convert markdown to serialized XHTML or HTML.
421 """Converts a markdown file and returns the HTML as a unicode string.
424 passes the file content to markdown, and outputs the html to either
449 html
454 output_file.write(html)
457 output.write(html.encode(encoding))
572 """Convert a markdown string to HTML and return HTML as a unicode string.
582 * safe_mode: Disallow raw html. One of "remove", "replace" or "escape".
586 * "html4": Outputs HTML 4
587 * "html": Outputs latest supported version of HTML (currently HTML 4).
589 and "html4") be used as "xhtml" or "html" may change in the future
592 Returns: An HTML document as a string.