Changelog
Features
- db62762: feat(parser): support cross references to images with ID and title (#1047) (@xcoulon)
- 043f58c: feat(parser): support cross references to images within tables (#1050) (@xcoulon)
- 25ab040: feat(parser): support link macros in titles (#999) (@xcoulon)
- 0e73153: feat(parser): support natural cross references (#1045) (@xcoulon)
- 2375844: feat(parser): support natural cross references within lists (#1052) (@xcoulon)
- 8c2d04a: feat(parser/renderer): support Asciidoc content in table cells (#1020) (@xcoulon)
- ceef387: feat(parser/renderer): support Open Blocks without masquerading (#1024) (@xcoulon)
- a2de2b7: feat(parser/renderer): support email autolinks (#1056) (@xcoulon)
- f9eae6b: feat(parser/renderer): support m-dashes and arrows (#998) (@xcoulon)
- 7bc20ec: feat(renderer): custom prefix for syntax hightlighting classes (#1028) (@xcoulon)
- 394e4e4: feat(renderer): support caret in links (#996) (@xcoulon)
- e157d69: feat(renderer): support elements in titles (#1017) (@xcoulon)
- 967103f: feat(renderer): support inline formatting in table of contents (#1098) (@xcoulon)
- 626c714: feat(renderer): table columns as headers (#1097) (@xcoulon)
Refactoring
- 8f0b39c: refactor(parser): AnyChar,AnyChars and ManyChars grammar rules (#1036) (@xcoulon)
- 678e057: refactor(parser): delete 'CalloutListElementContent' rule (#1009) (@xcoulon)
- 6f86cf4: refactor(parser): do not reparse image 'alt' attribute (#1021) (@xcoulon)
- 481ef43: refactor(parser): improve grammar (#1081) (@xcoulon)
- 113f625: refactor(parser): merge 'AdmonitionParagraph' and 'Paragraph' rules (#1031) (@xcoulon)
- dbd31ea: refactor(parser): merge 'LiteralParagraph' and 'Paragraph' rules (#1032) (@xcoulon)
- dd9e1d1: refactor(parser): more simplifications in the grammar (#1084) (@xcoulon)
- 5e5a4c6: refactor(parser): remove unnecessary 'RawApostrophe' grammar rule (#1072) (@xcoulon)
- 71c726b: refactor(parser): reparse content if needed only (#1071) (@xcoulon)
- d941be1: refactor(parser): rework on substitutions (#1068) (@xcoulon)
- c3e86f3: refactor(parser): section title parsing (#1037) (@xcoulon)
- b8014f8: refactor(parser): simplify 'InlineFootnote' rule (#1012) (@xcoulon)
- 873c72b: refactor(parser): simplify AttributeValueContent rules (#1010) (@xcoulon)
- 9823021: refactor(parser): simplify DocumentFragment rule (#1038) (@xcoulon)
- 04acb03: refactor(parser): simplify DocumentHeader grammar rule and type (#1075) (@xcoulon)
- 4d151e0: refactor(parser): simplify InlineWord vs Word rules (#1080) (@xcoulon)
- b2b04b9: refactor(parser): simplify QuotedText rule (#1034) (@xcoulon)
- eecd0bb: refactor(parser): simplify QuotedText rules (#1079) (@xcoulon)
- cd41d73: refactor(parser): simplify grammar rules for list elements (#1033) (@xcoulon)
- aa330c1: refactor(parser): simplify the 'InlineElement' rule (#1007) (@xcoulon)
- 2e7b5cb: refactor(parser): unexport 'opts' field in Context type (#1029) (@xcoulon)
- 93d001c: refactor(renderer): init and plaintext rendering (#1067) (@xcoulon)
- 9f09049: refactor(renderer): lazy loading of templates (#1062) (@xcoulon)
- e12e660: refactor(renderer): move context and switch/call to backends (#1064) (@xcoulon)
- 348d3bc: refactor(renderer): rename files (#1065) (@xcoulon)
- 25aad00: refactor(renderer): simplify rendering of special characters (#1070) (@xcoulon)
- 886f3d9: refactor(test): remove 'MatchDocumentFragmentGroups' matcher (#1091) (@xcoulon)
- d7fb02e: refactor(types): RawLine as custom struct (#1087) (@xcoulon)
- efa738e: refactor(types): remove unused code (#1022) (@xcoulon)
- 96db47f: refactor(types): rename func to init AttributeReferences (#1043) (@xcoulon)
Bug fixes
- 9f96927: fix(docs): fallback symlink command doesn't work (#990) (@dflock)
- 18a5c23: fix(docs): git clone command in README (#997) (@stevegt)
- 868aa5e: fix(parser): delimited block immediately after paragraph (#1013) (@xcoulon)
- 8adac29: fix(parser): detect DocumentHeader when doc has FrontMatter (#1042) (@xcoulon)
- c7f0b22: fix(parser): no need for a preamble wrapper if no title (#1074) (@xcoulon)
- f537bdf: fix(parser): support newlines in link attributes (#1096) (@xcoulon)
- 53ab4a5: fix(parser/renderer): trim trailing spaces in section title (#1054) (@xcoulon)
- c680ac4: fix(renderer): image alt without separators (#1025) (@xcoulon)
- b8e1fb4: fix(renderer): section numbering disabled and re-enabled (#1040) (@xcoulon)
Others
- f556fd2: chore(bench): capturing wallclock timelines with fgtrace (#1086) (@xcoulon)
- 8d0abec: chore(bench): display bench stats as a comment in the PR (#995) (@xcoulon)
- 745e403: chore(build): fix benchstat reports (#1059) (@xcoulon)
- 5e15d4c: chore(build): run tests with Go 1.17, 1.18 and 1.19 (#1088) (@xcoulon)
- d590c5e: chore(project): build and test with Go 1.18 (#1005) (@xcoulon)
- a7dc60b: chore(project): increase linter timeout to 10m (#1011) (@xcoulon)
- 0329b9d: chore(project): remove usage of gover (#1001) (@xcoulon)
- 5b22ad6: chore(project): run golangci-lint-action on Go 1.17 only (#1004) (@xcoulon)
- b92f431: chore(project): update GoReleaser config (#1099) (@xcoulon)
- d602a4a: chore(renderer): remove unused params in paragraph template (#1030) (@xcoulon)
- af9c178: chore(renderer): update alecthomas/chroma to v2.3.0 (#1089) (@xcoulon)
- 0bbc37e: chore(renderer): update sgml renderer code-gen (#1066) (@xcoulon)
- bda4054: chore(renderer): upgrade github.com/alecthomas/chroma to v0.10.0 (#1027) (@xcoulon)
- af34ca7: test(bench): run bench-diff on CI (#991) (@xcoulon)
- 2c0586b: test(parser/renderer): custom table borders (#1026) (@xcoulon)
- 0317c63: test(parser/renderer): verify quoted text case (#1082) (@xcoulon)
- b39e140: test(project): loglevel arg (#1083) (@xcoulon)
- 8b3c889: test(project): restore default log level to 'error' (#1085) (@xcoulon)