Text::Markup::Rest(3pm)

Text::Markup::Rest3pm

Restructuredtext parser for text::markup

Usage

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

Overview

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)};

Releases

5 releases since Debian 9 (Stretch); the text changed 3 times.

  1. 9
  2. 10
  3. 11–12
  4. 13

Author

Daniele Varrazzo <[email protected]>

From libtext-markup-perl 0.33-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.