Skip to content

Releases: accordproject/markdown-transform

0.4.5

06 Oct 15:56
Compare
Choose a tag to compare
0.4.5 Pre-release
Pre-release

🐛 Bug Fix

  • #55: Variables nodes in the Slate DOM have URI encoded values (@dselman)

Markdown Transform v0.4.4

05 Oct 13:49
b0996d0
Compare
Choose a tag to compare
Pre-release

🐛 Bug Fix

  • #53: Further work on variable and computed variable to use nested text nodes (@dselman @irmerk)

Markdown Transform v0.4.3

03 Oct 21:33
Compare
Choose a tag to compare
Pre-release

🐛 Bug Fix

  • #48: Variables and ComputedVariables are now inlines (@dselman @irmerk)

Markdown Transform v0.4.2

03 Oct 18:50
Compare
Choose a tag to compare
Pre-release

This release adds HTML transform to the command line and includes bug fixes.

CLI

You can now transform from markdown to HTML. For instance:

$ markus parse --sample test/data/fixed.md --html
14:25:02 - info: 
<html>
<body>
<h2>Fixed
rate
loan</h2>
<p>This is a <emph>fixed interest</emph> loan to the amount of 100000
at the yearly interest rate of 2.5%
with a loan term of 15,
and monthly payments of {{I'm not sure which amount right now}}</p>
</body>
</html>

Bug Fixes

  • Headings do not get mushed into the previous block anymore when generating markdown (#45)

Markdown Transform v0.4.0

02 Oct 16:18
Compare
Choose a tag to compare
Pre-release

This is a major release, with new support for HTML transform, support for transform from CiceroMark to Slate, an improved API, and critical bug fixes.

CLI

  • CLI has been renamed from mdtransform to markus.
  • CLI now should properly install from npm with npm install -g @accordproject/markdown-cli (#29 fixed in #40 )

Transform packages

  • A new @accordproject/markdown-html package lets you convert from Markdown to HTML
  • The slate transform @accordproject/markdown-slate now handles full CiceroMark, not just CommonMark

Build

  • You can now build all the packages using npm run build in the top-level directory

Documentation

  • Each package now includes some documentation for the API and transforms

Markdown Transform v0.3.2

30 Sep 13:39
Compare
Choose a tag to compare
Pre-release

🏗 This is a dependency upgrade release, moving to the latest Concerto 0.80.3.

Markdown Transform v0.3.1

18 Sep 13:38
Compare
Choose a tag to compare
Pre-release

This release adds a --noIndex option to the command line interface, which disable automatic indexing for ordered lists.

Here is an example of roundtrip for an ordered list with and without the --noIndex option:

bash-3.2$ mdtransform parse --sample ol-tight.md --roundtrip 
09:37:47 - info: 
This is an ordered list:

1. one
2. two
3. three

Done.
bash-3.2$ mdtransform parse --sample ol-tight.md --roundtrip --noIndex 
09:37:50 - info: 
This is an ordered list:

1. one
1. two
1. three

Done.

Markdown Transform v0.3.0

17 Sep 20:57
Compare
Choose a tag to compare
Pre-release

This release provides bug fixes and improvements to the API and CLI. It also switches the markdown-transform library to the official Accord Project version of Concerto (@accordproject/concerto).

CLI

The command line interface options have been changed:

mdtransform parse --sample test/ul.md  // To print the CommonMark AST
mdtransform parse --sample test/ul.md --roundtrip // To re-generate the markdown from the AST
mdtransform parse --sample test/ul.md --cicero // To print the CiceroMark AST
mdtransform parse --sample test/ul.md --slate // To see the Slate DOM

API

Most API calls now return pure JSON rather than Concerto objects, for portability.

Bug Fixes

  • 🐛 Stand alone Item nodes in the Concerto AST outside of List nodes now raise errors (#22)
  • 🐛 Slate roundtrips for CodeBlocks when called from the command line (#21)

Markdown Transform v0.2.1

12 Sep 17:31
Compare
Choose a tag to compare
Pre-release

This is bug fix release:

  • cleaner testing
  • ensure the same composer package is used consistently

Markdown Transform v0.2.0

12 Sep 11:53
Compare
Choose a tag to compare
Pre-release

This new release offers complete new packaging structure, and includes other transforms previously in other projects (for Slate).

The new projects are:

  • markdown-common transformation between Commonmark strings and a Commonmark AST
  • markdown-cicero additional transformation between CommonMark AST and an extension for Accord Project's Cicero
  • markdown-slate additional transformation between CommonMark AST and a Slate DOM
  • markdown-cli toplevel command line interface for the transformation libraries