Skip to content

Releases: accordproject/markdown-transform

Markdown Transform v0.12.10

18 Sep 17:45
6acbe5a
Compare
Choose a tag to compare

🐜 This is a patch release, adding better support and a new API for handling Concerto decorators (#249)

Markdown Transform v0.12.9

15 Sep 13:17
Compare
Choose a tag to compare

This is a general bug fix and improvements release. It also switches to a new version of the CiceroMark 0.3.1 and TemplateMark 0.1.1 models.

🏗️ Dependencies upgrades

  • Now uses version 0.3.1 of the CiceroMark model, with decorators
  • Now uses version 0.1.1 of the TemplateMark model, with decorators and additional blocks
  • Now uses version 0.82.9 of concerto

💮 Concerto decorators #249

  • CiceroMark and TemplateMark now include Concerto decorators on variables, clauses, etc when present. That information is propagated to the Slate DOM so it can be used to customize rendering.

🕥 AM/PM support in DateTime format #318

  • Date and time format now allows a (resp A) which parses am/pm (resp AM/PM) in the markdown text.
  • Date and time format now allows h (resp hh) which parses hours in a 1-12 or 01-12 format in the markdown text.

🏝️ Offline mode #321

  • When using the command line, you can now pass --offline as an option to avoid downloading external models (for template processing)

🐛 Bug fixes

  • Fixes issues with line breaks in the html transform #326
  • Fixes issues with nested clauses in CiceroMark #323

Markdown Transform v0.12.6

04 Sep 21:53
Compare
Choose a tag to compare
Pre-release

This release includes further improvements to pdf import.

pdf import

  • Pdf Import now relies on the better maintained, pdf.js library. Also does not add thematic breaks by default for page breaks in the source pdf.

Markdown Transform v0.12.7

31 Aug 12:23
Compare
Choose a tag to compare
Pre-release

This release includes bug fixes along with several improvements to the pdf support, and a new transform allowing to generate markdown with template extensions from the TemplateMark model.

New Transform

  • #310 You can now generate markdown with template extensions from the TemplateMark Document Object Model in JSON format:
markus transform --from templatemark --to markdown_template --input ...

New pdf import

  • The pdf import has been overhauled based on the pdf2json library and now detects rich text formatting in your pdf document.

Bug fixes

  • #309 The CLI now uses the correct tokenizer for the markdown to commonmark DOM transform
  • #299 #298 Better handling of nested blocks in the pdf generation
  • #254 Better handling of code blocks inside other blocks
  • #288 Fixes issues with nested blocks of the same kind in templatemark

Markdown Transform v0.12.6

22 Aug 16:18
Compare
Choose a tag to compare
Pre-release

This is a bug-fix release, focused on consolidating support for conditionals and optionals.

🐛 Bug Fix

  • #294 #295 : Fixes issues with pdf generation for conditionals and optionals
  • #290 : Fix issue with unquoting variables in conditionals and optionals

Markdown Transform v0.12.5

20 Aug 15:03
d3c6eec
Compare
Choose a tag to compare
Pre-release

markdown-pdf

🐛 Bug Fix

  • #293 : Protect the PDF transform from CiceroMark document that contain headings without text (@dselman

Markdown Transform v0.12.4

11 Aug 18:39
Compare
Choose a tag to compare
Pre-release

🐜 This is a patch release with some improvements to error handling, and a brand new dingus!.

TemplateMark

  • Typing the TemplateMark DOM now properly returns typing errors (e.g., optional template block on an array, conditional template block on a Double, etc)

Parser

  • Inconsistent variables in the contract throw proper ParseException errors

Dingus

  • It's now ready! Use it to parse and test your templatemark (for templates), ciceromark (for contracts) or plain old commonmark (for everything else).

Screenshot 2020-08-11 at 2 46 24 PM

Markdown Transform v0.12.3

07 Aug 14:55
Compare
Choose a tag to compare
Pre-release

🐜 This is a patch release with some minor improvements.

TemplateMark

  • #277 Fixes issues when rebuilding the parser from a template

Dingus

  • Properly render {{this}} as a <span> similar to variables

Markdown Transform v0.12.2

06 Aug 16:33
Compare
Choose a tag to compare
Pre-release

🐜 This is a patch release with some minor improvements.

TemplateMark

Dingus

  • inline template blocks are properly rendered as HTML spans
  • some styling was added

Markdown Transform v0.12.1

06 Aug 02:57
Compare
Choose a tag to compare
Pre-release

🐜 This is a patch release with some minor improvements.

Dependencies

  • Switches to latest Concerto 0.82.8

markdown-it plugins

  • #270 The markdown-it plugins for contracts and template better renders natively into HTML

Slate transform

  • Now provides a convenience API call SlateTransformer.toMarkdownCicero