commonmark-extensions 0.2.0.0 → 0.2.0.1
raw patch · 3 files changed
+39/−6 lines, 3 filesdep −semigroupsdep ~basePVP ok
version bump matches the API change (PVP)
Dependencies removed: semigroups
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- changelog.md +4/−0
- commonmark-extensions.cabal +5/−6
- test/task_lists.md +30/−0
changelog.md view
@@ -1,5 +1,9 @@ # Changelog for commonmark-extensions +## 0.2.0.1++- Added a missing test file to extra-source-files (#55).+ ## 0.2.0.0 - Add HasQuoted class in Smart extension, with singleQuoted
commonmark-extensions.cabal view
@@ -1,5 +1,5 @@ name: commonmark-extensions-version: 0.2.0.0+version: 0.2.0.1 synopsis: Pure Haskell commonmark parser. description: This library provides some useful extensions to core commonmark@@ -39,6 +39,7 @@ test/superscript.md test/subscript.md test/hard_line_breaks.md+ test/task_lists.md source-repository head type: git@@ -48,7 +49,7 @@ hs-source-dirs: src build-depends:- base >=4.7 && <5+ base >= 4.9 && <5 , text , bytestring , containers@@ -57,8 +58,6 @@ , commonmark >= 0.1 && < 0.2 -- for extensions: , emojis >= 0.1 && < 0.2- if !impl(ghc >= 8.0)- build-depends: semigroups == 0.18.* exposed-modules: Commonmark.Extensions Commonmark.Extensions.Smart@@ -89,7 +88,7 @@ test ghc-options: -threaded -rtsopts -with-rtsopts=-K40K build-depends:- base >=4.7 && <5+ base >= 4.9 && <5 , commonmark , commonmark-extensions , text@@ -107,7 +106,7 @@ build-depends: commonmark >= 0.1 && < 0.2 , commonmark-extensions- , base >= 4.8 && < 5+ , base >= 4.9 && < 5 , text , transformers , containers
+ test/task_lists.md view
@@ -0,0 +1,30 @@+## Task lists++As in GitHub-flavored Markdown.++```````````````````````````````` example+- [ ] an unchecked task list item+- [x] checked item+.+<ul class="task-list">+<li><input type="checkbox" disabled="" />an unchecked task list item</li>+<li><input type="checkbox" disabled="" checked="" />checked item</li>+</ul>+````````````````````````````````++```````````````````````````````` example+* [ ] an unchecked task list item++ with two paragraphs++* [x] checked item+.+<ul class="task-list">+<li><input type="checkbox" disabled="" /><p>an unchecked task list item</p>+<p>with two paragraphs</p>+</li>+<li><input type="checkbox" disabled="" checked="" /><p>checked item</p>+</li>+</ul>+````````````````````````````````+