logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Daniele Varrazzo <daniele.varrazzo@gmail.com>

Description

       This is the reStructuredText <https://docutils.sourceforge.io/rst.html> parser for Text::Markup. It
       depends on the "docutils" Python package, which can be found as "python3-docutils" in many Linux
       distributions, or installed using the command "pip install docutils". It recognizes files with the
       following extensions as reST:

       .rest.rst

       To  change  it  the files it recognizes, load this module directly and pass a regular expression matching
       the desired extension(s), like so:

         use Text::Markup::Rest qr{re?st(?:aurant)};

Name

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

Synopsis

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

See Also