Releases: accordproject/markdown-transform
0.4.5
Markdown Transform v0.4.4
Markdown Transform v0.4.3
Markdown Transform v0.4.2
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
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
tomarkus
. - 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
🏗 This is a dependency upgrade release, moving to the latest Concerto 0.80.3.
Markdown Transform v0.3.1
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
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
Markdown Transform v0.2.1
This is bug fix release:
- cleaner testing
- ensure the same composer package is used consistently
Markdown Transform v0.2.0
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 ASTmarkdown-cicero
additional transformation between CommonMark AST and an extension for Accord Project's Ciceromarkdown-slate
additional transformation between CommonMark AST and a Slate DOMmarkdown-cli
toplevel command line interface for the transformation libraries