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

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


Branch: CURRENT, Version: 0.2.6, Package name: hs-commonmark-extensions-0.2.6, 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: 44.645 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-23 22:58:49 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
textproc/hs-commonmark-extensions: update to commonmark-extensions-0.2.6

## 0.2.6

  * Track wikilinks with a class instead of the title (Evan
    Silberman). The use of title="wikilink" in HTML output traces
    back to Pandoc's hijacking of the title attribute for this purpose
    back when Pandoc links didn't have Attrs. A coordinated change in
    Pandoc moves this more appropriately into a class.
   2025-02-02 14:06:08 by Masatake Daimon | Files touched by this commit (1173)
Log message:
Bump all Haskell packages after switching the default compiler.
   2025-01-30 13:08:59 by Masatake Daimon | Files touched by this commit (3) | Package updated
Log message:
textproc/hs-commonmark-extensions: update to commonmark-extensions-0.2.5.6

## 0.2.5.6

  * Autolink parser: track balanced brackets in path (improves
    on #156). We still get a link within a link, which isn't right, but at
    least the link goes to the right place. Cf. jgm/pandoc#10333.

## 0.2.5.5

  * Fix auto_identifiers extension: it now replaces emojis with
    their aliases, as documented.
  * Fix auto_identifiers_ascii extension: it now ignores
    non-ASCII characters with no ASCII equivalent.
   2025-01-10 00:15:15 by Thomas Klausner | Files touched by this commit (24) | Package updated
Log message:
i*: recursive bump for hs-emojis update
   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2024-04-29 14:24:33 by Masatake Daimon | Files touched by this commit (4)
Log message:
textproc/hs-commonmark-extensions: Update to 0.2.5.4

0.2.5.4
* Fix autolink parsing regression (#151). This affects autolinks with
  doubled internal line-ending punctuation characters.

0.2.5.3
* Fix rebase_relative_paths extension so it works with URLs with non-ASCII
  characters (#148). Previously these would not be properly detected as
  absolute URIs.

0.2.5.2
* Improve autolinks extension (#147). The autolinks extension was
  interacting badly with explicit links, To fix this we had to make
  autolink parsing a bit stricter than the GFM spec does. They allow
  unbalanced ) except at the end of a URL (which is defined as: followed by
  optional final punctuation then whitespace or eof). With this change, we
  don't allow unbalanced ) at all in raw URLs. This should not be a big
  problem in practice.
* Protect against quadratic generated table size explosion (Michael
  Howell). This commit adds a limit to the number of auto-completed cells
  around 200,000. The result is, in these original samples:

0.2.5.1
* Add test/alerts.md to extra-source-files in cabal file.

0.2.5
* Add support for alerts extension, supporting GitHub-style alerts
  (#132). \ 
https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts
  New module Commonmark.Extensions.Alerts [API change].
* Do not accept footnote labels with line breaks (Michael Howell).
* Parse [^ ] and [^] as links (Michael Howell). This is consistent with
  most other CommonMark parsers, even when they have support for footnotes
  turned on.
   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.