securemark 0.249.1 → 0.252.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/index.js +120 -141
  4. package/markdown.d.ts +9 -19
  5. package/package.json +3 -3
  6. package/src/combinator/control/manipulation/indent.ts +15 -12
  7. package/src/combinator/control/manipulation/match.ts +2 -3
  8. package/src/parser/api/parse.test.ts +12 -6
  9. package/src/parser/block/blockquote.test.ts +2 -2
  10. package/src/parser/block/dlist.test.ts +2 -1
  11. package/src/parser/block/dlist.ts +4 -4
  12. package/src/parser/block/extension/figure.ts +5 -7
  13. package/src/parser/block/extension/message.ts +0 -2
  14. package/src/parser/block/heading.test.ts +1 -0
  15. package/src/parser/block/heading.ts +4 -4
  16. package/src/parser/block/olist.ts +7 -6
  17. package/src/parser/block/paragraph.test.ts +10 -10
  18. package/src/parser/block/paragraph.ts +2 -2
  19. package/src/parser/block/reply.ts +2 -2
  20. package/src/parser/block/ulist.ts +4 -3
  21. package/src/parser/block.ts +0 -3
  22. package/src/parser/inline/annotation.ts +2 -2
  23. package/src/parser/inline/code.ts +1 -1
  24. package/src/parser/inline/comment.test.ts +44 -44
  25. package/src/parser/inline/comment.ts +2 -2
  26. package/src/parser/inline/extension/index.test.ts +4 -4
  27. package/src/parser/inline/extension/index.ts +4 -5
  28. package/src/parser/inline/extension/placeholder.test.ts +4 -4
  29. package/src/parser/inline/html.ts +3 -3
  30. package/src/parser/inline/link.ts +2 -2
  31. package/src/parser/inline/reference.test.ts +3 -3
  32. package/src/parser/inline/reference.ts +6 -6
  33. package/src/parser/inline.test.ts +2 -2
  34. package/src/parser/source/str.ts +2 -2
  35. package/src/parser/util.ts +15 -11
  36. package/src/parser/block/indentblock.test.ts +0 -30
  37. package/src/parser/block/indentblock.ts +0 -13
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.252.0
4
+
5
+ - Remove indentblock syntax.
6
+
7
+ ## 0.251.0
8
+
9
+ - Change indentblock parser to require 4 spaces or 1 tab to support text indent.
10
+
11
+ ## 0.250.0
12
+
13
+ - Change comment syntax.
14
+
3
15
  ## 0.249.1
4
16
 
5
17
  - Update dependencies.
package/README.md CHANGED
@@ -56,7 +56,7 @@ https://falsandtru.github.io/securemark/
56
56
  - Channel (@user#tag)
57
57
  - Hashtag (#tag)
58
58
  - Template ({{ template }})
59
- - Comment ([# comment #])
59
+ - Comment ([% comment %])
60
60
 
61
61
  ## Media
62
62