python-markups

A wrapper around various text markups
Download

python-markups Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Dmitry Shachnev
  • Publisher web site:
  • https://launchpad.net/~mitya57

python-markups Tags


python-markups Description

python-markups is a Pythom module that provides a wrapper around the various text markup languages, such as Markdown and reStructuredText (these two are supported by default).Usage example:>>> markup = markups.get_markup_for_file_name("myfile.rst")>>> markup.name'reStructuredText'>>> markup.attributes''>>> text = "Hello, world!\n=============\n\nThis is an example **reStructuredText** document.">>> markup.get_document_title(text)'Hello, world!'>>> markup.get_document_body(text)'< p >This is an example reStructuredText< /strong > document.< /p >\n'Product's homepage


python-markups Related Software