Markdent::Dialect::GitHub(3pm)

Markdent::Dialect::GitHub3pm

Markdown extensions implemented on github

Usage

  use Markdent::Parser;
  my $parser = Markdent::Parser->new( dialect => 'GitHub', handler => ... );

Overview

The GitHub roles add parsing for some of the Markdown extensions used on GitHub. See <http://github.github.com/github-flavored-markdown/> for details.

Deviations

The dialect differs from the GitHub implementation in a few ways.

•

It doesn't yet implement the newline handling that GitHub specifies.

•

It does not implement the GitHub specific auto-linking for SHAs, users, or projects. This is intentional.

Implementation details

When the start of a fenced code block includes a language indicator ("```perl"), the HTML output will include that language as part of a class name on the "<code>" tag:

  <pre><code class="language-perl">...</code></pre>

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

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

Bugs

See Markdent for bug reporting details.

Author

Dave Rolsky, <[email protected]>

From libmarkdent-perl 0.40-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.