DOKK / manpages / debian 10 / libtext-markup-perl / Text::Markup::Rest.3pm.en
Text::Markup::Rest(3pm) User Contributed Perl Documentation Text::Markup::Rest(3pm)

Text::Markup::Rest - reStructuredText parser for Text::Markup

  use Text::Markup;
  my $html = Text::Markup->new->parse(file => 'hello.rst');

This is the reStructuredText <http://docutils.sourceforge.net/docs/user/rst/quickref.html> parser for Text::Markup. It depends on the "docutils" Python package (which can be found as "python-docutils" in many Linux distributions, or installed using the command "easy_install docutils"). It recognizes files with the following extensions as reST:

.rest
.rst

Daniele Varrazzo <daniele.varrazzo@gmail.com>

Copyright (c) 2011-2014 Daniele Varrazzo. Some Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2018-12-15 perl v5.28.1