./textproc/hs-commonmark-extensions, Pure Haskell commonmark parser - extensions

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.2.4nb1, Package name: hs-commonmark-extensions-0.2.4nb1, Maintainer: pho

This library provides some useful extensions to core commonmark
syntax: smart quotes, definition lists, tables, footnotes, math, and
more.


Required to run:
[net/hs-network-uri] [converters/hs-emojis] [textproc/hs-commonmark] [lang/ghc94]

Master sites:

Filesize: 38.807 KB

Version history: (Expand)


CVS history: (Expand)


   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-28 12:03:03 by Masatake Daimon | Files touched by this commit (4)
Log message:
textproc/hs-commonmark-extensions: Update to 0.2.4

0.2.4
* Make pipe_tables extension treat backslash escapes like GH does (#112,
  Michael Howell). This change essentially changes the way the text \\|
  gets parsed inside a table. In the old version, the first backslash
  escapes the second backslash, and then the pipe is treated as a cell
  separator. In the new version, the pipe is still preceded by a backslash,
  so it is still literal text. The escaping rule is documented in detail in
  the spec for this extension. This change also aligns our escaping of
  pipes with GitHub's.

0.2.3.6
* Fix pipe table parser so that |s don't interfere with other block
  structures (Michael Howell, #111, fixing #52 and #95). This parser is
  structured as a system that parses the second line first, then parses the
  first line. That is, if it detects a delimiter row as the second line of
  a paragraph, it converts the paragraph into a table. This seems
  counterintuitive, but it works better than trying to convert a table into
  a paragraph, since it might need to be something else.
* Improve parsing of inline math (#110).

0.2.3.5
* Resolve entities inside wikilinks (#105, Michał Kukieła).

0.2.3.4
* Require whitespace after definition list marker (#104). Otherwise we can
  inadvertently clobber strikeout or subscript.
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2023-01-25 17:19:04 by Masatake Daimon | Files touched by this commit (4)
Log message:
textproc/hs-commonmark-extensions: Update to 0.2.3.3

0.2.3.3
* Fix definition_lists extension (#96). We were not properly consuming
  indentation in definitions, which caused problems when the definitions
  themselves contained lists.

0.2.3.2
* Update lower version bounds for commonmark (#93, David Thrane
  Christiansen).

0.2.3.1
* math extension: don't fail when display math contains embedded inline
  math. See jgm/pandoc#7942.
* Make math parsing more sophisticated. Count embeddings inside {..}, since
  math can contain e.g. \text{...} which itself contains math delimiters.
* Small improvement in pipe table parsing. The old parser failed on some
  edge cases with extra whitespace after pipes (which we should just
  ignore).
* fancy_list extension: improve list type ambiguity resolution (#89).
   2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872)
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
   2022-02-12 09:51:00 by Masatake Daimon | Files touched by this commit (575)
Log message:
revbump after changing the default Haskell compiler
   2022-02-11 14:32:14 by Masatake Daimon | Files touched by this commit (4)
Log message:
Update to commonmark-extensions-

0.2.3
* Allow bare word attribute in fenced_divs (#84). This follows a similar
  change in pandoc (jgm/pandoc#7242).

0.2.2.1
* Fix commonmark-extensions to build with GHC 9.2 (#81, Joseph
  C. Sible). Currently --allow-newer is needed.

0.2.2
* Add footnote to gfmExtensions. Note that this also requires additional
  type constraints on gfmExtensions [API change].

0.2.1.2
* Fix bug with absolute paths in rebase_relative_paths extension on
  Windows.

0.2.1.1
* Fix bug in wikilinks extensions.

0.2.1
* Add rebase_relative_paths extension. New exported module
  Commonmark.Extensions.RebaseRelativePaths [API change].
* Add wikilinks_title_before_pipe and wikilinks_title_after_pipe extensions
  (#69). New exported module Commonmark.Extensions.Wikilinks [API change].
   2022-01-18 03:48:33 by Masatake Daimon | Files touched by this commit (541)
Log message:
Bump packages that depends on GHC