Markdent

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


- Added support for drunken (42, 5, 3) and lazy (1, 1, 1) ordered lists, per
  the Markdown spec -
  http://daringfireball.net/projects/markdown/syntax#list. Based on tests and
  patch from Jason McIntosh.


0.22   2012-07-22

* All dialects except the Standard dialect are now roles. This makes it
  possible to create a parser that parses multiple dialects. It's possible for
  dialects to have conflicting parsing rules, in which case the results are
  unpredictable.

  This is a backwards incompatible change, but should not break most code,
  unless you have implemented your own dialect, or you were explicitly setting
  a block or span parser class to something like

      block_parser_class => 'Markdent::Dialect::Theory::BlockParser'

  But there was really no good reason to do this.

- The Standard dialect block/span parser classes are now named
  Markdent::Parser::BlockParser and ::SpanParser.

- The use of a "dialect" as a named parameter has been replaced by
  "dialects". The "dialects" parameter can be either a string or an array ref
  of strings. However, the "dialect" parameter is still accepted for backwards
  compatibility. This may be removed in the future.

- The Standard dialect now parses two spaces at the end of a line as a line
  break. There is a new Markdent::Event::LineBreak class to go with this.

- Improve the bin/markdent-html script. It now has a --help option. You can
  pass it Markdown text via the CLI --text option, rather than only via a
  --file.

- Implemented most of GitHub-flavored Markdown as a dialect.


0.21   2012-06-22

- The StartListItem event now has a bullet attribute. This contains the text
  of the bullet, something like "*" or "1.". Requested by Steven Haryanto. RT
  #77893.


0.20   2012-05-18

- Work around breakage introduced with MooseX::Types 0.32.


0.19   2012-03-04

- Some modules were missing a version number in the last release.


0.18   2012-03-04

- The Markdent::Handler::HTMLStream::Document and ::Fragment modules did not
  detect when streaming to a file handle failed. This is because HTML::Stream
  does not check that it's calls to ->print succeed. This has been fixed by
  wrapping file handles (native or IO::Handle) in an object which checks that
  print succeeds.

- Distro/packaging cleanup.


0.17   2010-09-27

- Avoid warnings from the next Moose.

- Added a Null handler.


0.16   2010-06-03

- The last release (and others?) did not include a $VERSION in its
  modules. Doh.


0.15   2010-06-03

- Even more table parsing improvements. Now the parse speed is approximately
  50 times faster than 0.13.


0.14   2010-06-03

- Greatly improved table parsing speed. Large tables took a very long time to
  parse, as the parser ended up backtracking way too much. Thanks to Yuval
  Kogman for his suggestions. Now large tables parse approximately 10 times
  faster.


0.13   2010-06-01

- Fixed handling of a very pathological case for table parsing, which caused
  the parser to die. Instead, it will now keep going. Your output may be
  bizarre, but the parser should not die.

- Fixed handling of a tab character next to a cell delimiter. This caused the
  parser to become very confused and go into an endless loop. Now such tabs
  are simply stripped from the output (just like other whitespace next to a
  cell delimiter).


0.12   2010-05-25

- Allow setting the handler class when calling Test::Markdent::parse_ok().


0.11   2010-05-25

- Moved Test::Markdent into lib (from t/lib), since it is useful to anyone who
  wants to write a Markdent dialect.


0.10   2010-05-19

- Split all HTML generating code into ::Document and ::Fragment classes. This



( run in 0.470 second using v1.01-cache-2.11-cpan-63c85eba8c4 )