Skip to content

Commit

Permalink
textproc/hs-commonmark-extensions: Update to 0.2.4
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
depressed-pho committed Oct 28, 2023
1 parent 2dbe668 commit b6b1a81
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
5 changes: 2 additions & 3 deletions textproc/hs-commonmark-extensions/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.10 2023/10/09 04:54:50 pho Exp $
# $NetBSD: Makefile,v 1.11 2023/10/28 10:03:03 pho Exp $

DISTNAME= commonmark-extensions-0.2.3.3
PKGREVISION= 2
DISTNAME= commonmark-extensions-0.2.4
CATEGORIES= textproc

MAINTAINER= pho@cielonegro.org
Expand Down
6 changes: 4 additions & 2 deletions textproc/hs-commonmark-extensions/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.3 2023/01/25 16:19:04 pho Exp $
@comment $NetBSD: PLIST,v 1.4 2023/10/28 10:03:03 pho Exp $
lib/commonmark-extensions-${PKGVERSION}/${HS_VERSION}/package-description
lib/commonmark-extensions-${PKGVERSION}/${HS_VERSION}/package-id
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Commonmark/Extensions.dyn_hi
Expand Down Expand Up @@ -61,7 +61,7 @@ ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Commonmark/Extensions/Wikilinks.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/LICENSE
share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/LICENSE
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/Commonmark-Extensions-Attributes.html
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/Commonmark-Extensions-AutoIdentifiers.html
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/Commonmark-Extensions-Autolink.html
Expand All @@ -83,9 +83,11 @@ ${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/Co
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/Commonmark-Extensions.html
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/commonmark-extensions.haddock
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/doc-index.html
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/doc-index.json
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/haddock-bundle.min.js
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/index.html
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/linuwial.css
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/meta.json
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/quick-jump.css
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/quick-jump.min.js
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/synopsis.png
6 changes: 3 additions & 3 deletions textproc/hs-commonmark-extensions/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.9 2023/10/09 04:54:50 pho Exp $
# $NetBSD: buildlink3.mk,v 1.10 2023/10/28 10:03:03 pho Exp $

BUILDLINK_TREE+= hs-commonmark-extensions

.if !defined(HS_COMMONMARK_EXTENSIONS_BUILDLINK3_MK)
HS_COMMONMARK_EXTENSIONS_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.hs-commonmark-extensions+= hs-commonmark-extensions>=0.2.3
BUILDLINK_ABI_DEPENDS.hs-commonmark-extensions+= hs-commonmark-extensions>=0.2.3.3nb2
BUILDLINK_API_DEPENDS.hs-commonmark-extensions+= hs-commonmark-extensions>=0.2.4
BUILDLINK_ABI_DEPENDS.hs-commonmark-extensions+= hs-commonmark-extensions>=0.2.4
BUILDLINK_PKGSRCDIR.hs-commonmark-extensions?= ../../textproc/hs-commonmark-extensions

.include "../../textproc/hs-commonmark/buildlink3.mk"
Expand Down
8 changes: 4 additions & 4 deletions textproc/hs-commonmark-extensions/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.5 2023/01/25 16:19:04 pho Exp $
$NetBSD: distinfo,v 1.6 2023/10/28 10:03:03 pho Exp $

BLAKE2s (commonmark-extensions-0.2.3.3.tar.gz) = 1ad30fc8940460119c1bf061b5a040ef1e05d7ad14d751604b3d44011cbf8322
SHA512 (commonmark-extensions-0.2.3.3.tar.gz) = 8c77d6ed57110deb7689c9dddb64b638048a0c4b7948b4154a928338b28a2ffbde3f72ff6652e9ad7790b2604b3facacef126b036c60d8a91b21f5e682cde7fe
Size (commonmark-extensions-0.2.3.3.tar.gz) = 37708 bytes
BLAKE2s (commonmark-extensions-0.2.4.tar.gz) = 6ee784c040ffc86c9c1bb3ac2c6753a41e72fbe0dd7c87d10d2d9b066b2a6ec0
SHA512 (commonmark-extensions-0.2.4.tar.gz) = ab5b24d7007d04fec80f49be15a883aebbddf1bea4fc3b5e7a75cda7ad1d650200f0804a9c34ec2a5785d603e4d7e8c299aca9233623e22081c9b754c4a96a8f
Size (commonmark-extensions-0.2.4.tar.gz) = 39738 bytes

0 comments on commit b6b1a81

Please sign in to comment.