Browse Source

Markdown version 1.1.11

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
master markdown_1.1.11
Kyle J. McKay 4 years ago
parent
commit
5ffe21ab63
  1. 11
      Markdown.pl
  2. 46
      README

11
Markdown.pl

@ -18,14 +18,15 @@ use warnings;
use Encode;
use vars qw($COPYRIGHT $VERSION @ISA @EXPORT_OK);
use vars qw($COPYRIGHT $DATE $VERSION @ISA @EXPORT_OK);
BEGIN {*COPYRIGHT =
\"Copyright (C) 2004 John Gruber
Copyright (C) 2015,2016,2017,2018,2019,2020,2021 Kyle J. McKay
All rights reserved.
";
*VERSION = \"1.1.11-PRE"
*VERSION = \"1.1.11";
*DATE = \"2021-03-05";
}
use Exporter ();
@ -594,7 +595,7 @@ sub _main {
_require_pod_usage;
Pod::Usage::pod2usage(-verbose => 0, -exitval => 0)},
'version|V' => sub { # Version info
print "\nThis is Markdown, version $VERSION.\n", $COPYRIGHT;
print "\nThis is Markdown, version $VERSION $DATE.\n", $COPYRIGHT;
print "License is Modified BSD (aka 3-clause BSD) License\n";
print "<https://opensource.org/licenses/BSD-3-Clause>\n";
exit 0},
@ -5173,6 +5174,8 @@ Z<> See the F<README> file for detailed release notes for this version.
=over
=item Z<> 1.1.11 - 05 Mar 2021
=item Z<> 1.1.10 - 08 Jul 2020
=item Z<> 1.1.9 - 15 Dec 2019
@ -5237,6 +5240,8 @@ Z<> See the F<README> file for detailed release notes for this version.
=item mackyle<at>gmail.com
=item L<https://repo.or.cz/markdown.git>
=back
=head1 COPYRIGHT AND LICENSE

46
README

@ -2,7 +2,7 @@
Markdown
========
Version 1.1.10
Version 1.1.11
John Gruber
Kyle J. McKay
@ -163,16 +163,58 @@ Command-Line
Use the `--html4tags` command-line switch to produce HTML output from a
Unix-style command line. E.g.:
% perl Markdown.pl --html4tags foo.txt
$ perl Markdown.pl --html4tags foo.txt
Type `perldoc Markdown.pl`, or read the POD documentation within the
Markdown.pl source code for more information.
Viewing with w3m
~~~~~~~~~~~~~~~~
If w3m is available, a Markdown-formatted text file can be viewed like so
(change `README` to the actual name of the Markdown-formatted file to view):
$ perl Markdown.pl --stub README | w3m -T text/html
---------------
Version History
---------------
1.1.11 (05 Mar 2021):
* new --strip-comments option
* new --keep-abs option
* new --raw-xml and --raw-html options
* new --auto-number option for headers
* new --div option to wrap output in `<div>...</div>`
* convert named character entities to numeric by default
* add XML comments section to syntax.md
* detail API and ability to "use" Markdown module
* support floating images and `<br clear=all>`
* recognize wiki style image links
* YAML front matter support
* make -i/-r work on top-level raw html blocks
* avoid accidentally creating nested `<a>` elements
* ignore junk on end of backticks-delimited code block start line
* strip markup out of implicit anchors
1.1.10 (08 Jul 2020):
* enhance --wiki "s" option operation

Loading…
Cancel
Save