-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hs-pandoc-lua-marshal: update to 0.3.0.
## 0.3.0 Released 2024-12-07. * Add method `normalize` to Pandoc objects. This returns a normalized document by merging adjacent spaces in inlines and by modifying tables. * Push Captions as userdata, move code to separate module. * Add tests for RawInline and its properties * Allow treatment of custom elements as singleton lists. * Remove `pandoc` prefix on table components (jgm/pandoc#8574). ## 0.2.9 Released 2024-10-01. - Update list module, thereby introducing a new method `iter`; the function returns an iterator that steps through list values on each call. - Added support for `__toinline` and `__toblock` metamethods. If the metamethods are available on a Lua object and return an appropriate value, then that returned value will be used during unmarshalling. ## 0.2.8 Released 2024-09-21. - Update list module, thereby introducing a new method `at` and an extended constructor for List types. ## 0.2.7.1 Released 2024-07-02. - Relaxed the upper bound of tasty-quickcheck, used in tests. Now allows version 0.11. - Update documentation on constructors; the descriptions now match those in the pandoc docs. ## 0.2.7 Released 2024-05-06. - Let the behavior of `content` attributes on BulletList and OrderedList elements match that of the constructor by treating a list of Block elements as a list of single-block items. The following assertion now holds true: ``` lua local content = {pandoc.Plain "one", pandoc.Plain "two"} local bl = pandoc.BulletList{} bl.content = content assert(bl == pandoc.BulletList(content)) ```
- Loading branch information
Showing
4 changed files
with
21 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
# $NetBSD: Makefile,v 1.11 2024/05/09 01:32:06 pho Exp $ | ||
# $NetBSD: Makefile,v 1.12 2025/01/10 10:12:25 wiz Exp $ | ||
|
||
DISTNAME= pandoc-lua-marshal-0.2.6 | ||
PKGREVISION= 1 | ||
DISTNAME= pandoc-lua-marshal-0.3.0 | ||
CATEGORIES= devel | ||
|
||
MAINTAINER= [email protected] | ||
COMMENT= Use pandoc types in Lua | ||
LICENSE= mit | ||
|
||
HASKELL_UNRESTRICT_DEPENDENCIES+= \ | ||
hslua-list | ||
|
||
.include "../../converters/hs-aeson/buildlink3.mk" | ||
.include "../../lang/hs-hslua/buildlink3.mk" | ||
.include "../../lang/hs-hslua-list/buildlink3.mk" | ||
.include "../../lang/hs-hslua-marshalling/buildlink3.mk" | ||
.include "../../lang/hs-lua/buildlink3.mk" | ||
.include "../../textproc/hs-pandoc-types/buildlink3.mk" | ||
.include "../../devel/hs-safe/buildlink3.mk" | ||
.include "../../lang/hs-hslua-list/buildlink3.mk" | ||
.include "../../mk/haskell.mk" | ||
.include "../../mk/bsd.pkg.mk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
$NetBSD: distinfo,v 1.4 2024/05/03 09:41:05 pho Exp $ | ||
$NetBSD: distinfo,v 1.5 2025/01/10 10:12:25 wiz Exp $ | ||
|
||
BLAKE2s (pandoc-lua-marshal-0.2.6.tar.gz) = f45eb1af9c60c4a8b09f92df6e07b98aff32fbe6e77841da515df247f7e248bb | ||
SHA512 (pandoc-lua-marshal-0.2.6.tar.gz) = 22035a8e3ea5f854ecaab116e11c46321818ce85e063574546bab6134037ee2bbcd984a9236b3ff1b013f47f5fd5df2d0ceca9a8ffddb2ed3c374fbf1f8a7a05 | ||
Size (pandoc-lua-marshal-0.2.6.tar.gz) = 38722 bytes | ||
BLAKE2s (pandoc-lua-marshal-0.3.0.tar.gz) = 64886d5e8972915f44ec73dda21b981b8dd3b68a633caa1730e62d812fc01a79 | ||
SHA512 (pandoc-lua-marshal-0.3.0.tar.gz) = 5ba49e9ed0a17e7091331bfae1e8fcc34b42e3863d1f3e7d9eed3053c587197ccbaa278d7e109cce4572cd30b44e5a9971bc7608fc657787bfcc980ef4c99639 | ||
Size (pandoc-lua-marshal-0.3.0.tar.gz) = 42833 bytes |