| 1 |
Revision history for Perl extension Text-Markup. |
| 2 |
|
| 3 |
0.41 2025-12-18T14:19:18Z |
| 4 |
- Tweaked the Markdown configuration to generate IDs for headers and to |
| 5 |
parse and emit footnotes and "smartypants" punctuation. |
| 6 |
- Added the `flags` parameter to Text::Markup::Markdown::parse, which |
| 7 |
replaces the default flags. |
| 8 |
|
| 9 |
0.40 2025-12-15T00:10:26Z |
| 10 |
- Fixed typo in `Build.PL` that prevented the recommendation to install th |
| 11 |
CommonMark module. |
| 12 |
- Replaced Text::Markdown with Text::Markdown::Discount, as it seems better |
| 13 |
maintained and supports tables, code fences, definition lists, and more. |
| 14 |
- Fixed p3rl.org URLs in tests. |
| 15 |
- Fixed links to markup parsers incorrectly pasted as Text::Markdown. |
| 16 |
|
| 17 |
0.33 2024-02-15T20:12:54Z |
| 18 |
- Added support for registering a regular expression for Text::Markup::None |
| 19 |
by passing it in the `use` statement. The None parser otherwise is only |
| 20 |
the fallback parser used by `parse()` when Text::Markup cannot determine |
| 21 |
which parser to use. |
| 22 |
|
| 23 |
0.32 2024-02-08T03:25:18Z |
| 24 |
- Added the ability to change the regular expression for a format by |
| 25 |
passing it in the `use` statement. |
| 26 |
|
| 27 |
0.31 2023-09-10T23:24:43Z |
| 28 |
- Fixed the passing of parameters to `parse()`. |
| 29 |
- Documented the parameters passable to `parse()` for each parser. |
| 30 |
|
| 31 |
0.30 2023-09-10T16:42:18Z |
| 32 |
- Removed very old custom paths to `docutils` (reST) and `asciidoc` |
| 33 |
binaries on Windows. Users must ensure that the proper commands are |
| 34 |
in the PATH, instead. |
| 35 |
- Added Text::Markup::Asciidoctor, which uses the `asciidoctor` command, |
| 36 |
as a updated alternative to Text::Markup::Asciidoc, which uses the |
| 37 |
legacy `asciidoc` command. Text::Markup will not use this formatter by |
| 38 |
default, but when explicitly loaded will be used instead of |
| 39 |
Text::Markup::Asciidoc. |
| 40 |
- Added Text::Markup::CommonMark, which uses the cmark library, via the |
| 41 |
CommonMark module. Text::Markdown will not use this formatter by |
| 42 |
default, but when explicitly loaded will be used instead of |
| 43 |
Text::Markup::Markdown. |
| 44 |
- De-duped the utilities for managing external commands from the Rest and |
| 45 |
Asciidoc modules into Text::Markdown::Cmd. |
| 46 |
|
| 47 |
0.25 2023-09-04T22:20:13Z |
| 48 |
- Fixed the importation of Pod::Simple::XHTML, Text::Trac, Text::Textile, |
| 49 |
and Text::MediawikiFormat to use the correct syntax for requiring a |
| 50 |
minimum version. Thanks to Graham Knop for the PR (#27)! |
| 51 |
- Fixed a reStructuredText test failure on newer versions of `docutils`. |
| 52 |
- Moved development test dependencies from recommended prereqs to |
| 53 |
development prereqs. |
| 54 |
- Increased the minimum required Module::Build version to 0.4209. |
| 55 |
- Added GitHub Workflows for testing and releasing and removed Travis |
| 56 |
testing. Test on Perl 5.8 - 5.38 on Linux, macOS, an Windows. |
| 57 |
- Fixed bugs executing Rest and Asciidoc on Windows. |
| 58 |
- Updated Asciidoc ot find `asciidoc.bat` and `asciidoc.exe` on Windows. |
| 59 |
|
| 60 |
0.24 2019-12-12T00:53:25Z |
| 61 |
- Added missing `<head>` tag to all output. Thanks to Axel Beckert for |
| 62 |
the pull request (#16, #18)! |
| 63 |
- Added the `format_matchers` class method, which returns a list of |
| 64 |
formats and the regular expressions that match them. |
| 65 |
- Added `use warnings;` to all modules, thanks to a patch from John SJ |
| 66 |
Anderson (#22). |
| 67 |
- Added support for a `--raw` option to the markup modules for which it |
| 68 |
makes sense. This option allows markup to be output without wrapping |
| 69 |
it in a minimal HTML skeleton. Thanks to John SJ Anderson for the |
| 70 |
patch (#2, #24)! |
| 71 |
- Ported reST to Python 3. Thanks to gregor herrmann for the PR (#26). |
| 72 |
|
| 73 |
0.23 2015-05-21T06:23:35Z |
| 74 |
- Added BBcode and Creole to the module description. |
| 75 |
- Fixed a failing test for the Mediawiki format due to a change in CGI |
| 76 |
v4.14. This reverses the workaround required by CGI 4.11, introduced |
| 77 |
in v0.20. Not that you care. It's just a test change. |
| 78 |
- Updated the Pod parser to determine the indentation of verbatim blocks |
| 79 |
by the line with the shortest leading whitespace, rather than the |
| 80 |
whitespace of just the first line. Inspired by an equivalent approach |
| 81 |
in Mojolicious by Joel Berger. |
| 82 |
|
| 83 |
0.22 2015-02-20T03:52:36Z |
| 84 |
- Added support for Creole. Thanks to Lucas Kanashiro for the patch! |
| 85 |
|
| 86 |
0.21 2015-02-17T00:18:20Z |
| 87 |
- Fixed description of Asciidoc and added it to the README. |
| 88 |
- Added support for BBcode. Thanks to Lucas Kanashiro for the patch! |
| 89 |
|
| 90 |
0.20 2015-01-22T00:54:50Z |
| 91 |
- Fixed a failing test for the Mediawiki format due to a change in CGI |
| 92 |
v4.11. Thanks to Andreas Koenig for the report and diagnosis. |
| 93 |
|
| 94 |
0.19 2014-02-07T04:00:56Z |
| 95 |
- Fixed Pod markup so that it does not strip text from the first line of |
| 96 |
verbatim blocks. |
| 97 |
- Removed the `--safe` option from Asciidoc. It is just borked with the |
| 98 |
XHTML back end. |
| 99 |
|
| 100 |
0.18 2013-06-08T23:24:09Z |
| 101 |
- Now require HTML::Tagset, since Text::MediawikiFormat seems to need it |
| 102 |
but only recommends it. |
| 103 |
- Removed all Pod tests from the distribution. |
| 104 |
- Updated reST to support docutils 0.7 - 0.10 and when Pygments is not |
| 105 |
available. Daniele Varrazzo. |
| 106 |
|
| 107 |
0.17 2012-02-28T04:31:07Z |
| 108 |
- Added Asciidoc support. |
| 109 |
|
| 110 |
0.16 2012-02-13T17:23:00Z |
| 111 |
- Rest support now uses its own implementation of `rst2html` so that it |
| 112 |
can render specialized reST documents, such as Sphinx files, in a more |
| 113 |
forgiving way: it preserves the content of unknown directives while |
| 114 |
not emulating specialized rendering. Written by Daniele Varrazzo. |
| 115 |
- Improved handling of Sphinx directives in Rest output. Most directives |
| 116 |
are stripped out, although `function` directives now turn out much |
| 117 |
nicer. Props to Daniele Varrazzo for the work on the Rest parser. |
| 118 |
- Fixed character encoding issues with the Rest parser. |
| 119 |
- Fixed a character encoding issue in the test suite. |
| 120 |
|
| 121 |
0.15 2012-01-13T23:04:16Z |
| 122 |
- Changed the parsers to return `undef` if no content was parsed from a |
| 123 |
file. |
| 124 |
- Added reST support, with thanks to Daniele Varrazzo. |
| 125 |
|
| 126 |
0.14 2011-10-09T17:45:28Z |
| 127 |
- Added option processing to the Pod parser. Thanks to Mark Allen for |
| 128 |
the pull request. |
| 129 |
|
| 130 |
0.13 2011-05-21T15:33:28 |
| 131 |
- Fixed broken regular expression in the Pod parser that could eat the |
| 132 |
first line of a verbatim block. |
| 133 |
|
| 134 |
0.12 2011-04-04T23:16:12 |
| 135 |
- Documented that the `file` parameter to `parse()` is required. |
| 136 |
- Added MultiMarkdown support. |
| 137 |
- Fixed test failure in `t/formats.t` when no supported markup parser |
| 138 |
is installed. |
| 139 |
|
| 140 |
0.11 2011-02-22T22:41:15 |
| 141 |
- Added list of supported markups to the README. |
| 142 |
- Fixed test failures on Perls earlier than 5.12. |
| 143 |
|
| 144 |
0.10 2011-02-22T19:45:27 |
| 145 |
- Initial version. Includes parsers for: |
| 146 |
+ HTML |
| 147 |
+ Markdown |
| 148 |
+ MediaWiki |
| 149 |
+ Pod |
| 150 |
+ Textile |
| 151 |
+ Trac |