Comments (4)
Current Information:
This library utilizes the official Accord Project version of Concerto (@accordproject/concerto
)
The project structure:
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
: Top-level command line interface for the transformation libraries
Miscellaneous information:
- Clauses are recognised through the info part of the code block
- Calculation exists for convenience for clause text without variables tags
API
Most API calls return pure JSON rather than Concerto objects, for portability.
Classes are CommonMark
and CiceroMark
containing operations to/from string and to/from CommonMark
CLI
Options:
All examples are using
mdtransform parse --sample test/ul.md
, which prints the CommonMark AST by usin the CommonMark parser and transformer
--noIndex
: 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.
-
--roundtrip
: Re-generates the markdown from the AST -
--cicero
: Print the CiceroMark AST -
--slate
: Displays the Slate DOM
from markdown-transform.
Note that --roundtrip
and --generateMarkdown
are similar and could use review.
from markdown-transform.
There should not be a --generateMarkdown
anymore
from markdown-transform.
@irmerk We have now a regular release process for this, with release notes. This is already used in the 0.20
release. Can we close?
from markdown-transform.
Related Issues (20)
- [Build] Failing builds due to network timeouts on model loading HOT 6
- Unable to find module on npm install HOT 1
- Template Signature in `ciceromark_parsed` HOT 5
- Styling of the clause block HOT 7
- Removal Container Content Control HOT 1
- Update of js-dom dependency from 15.2.1 to 16.4.0 HOT 1
- pdf transform: bold and italics do not work HOT 1
- Refactor the transfomer(OOXML<->CiceroMark)
- Unicode fonts for pdf transform HOT 4
- Pdf Transform: Generation for nested lists without initial paragraph is broken
- Pdf transform: link with formatting do not get properly translated
- `markus --help` leads to `Cannot find module 'mkdirp'` on fresh install on mac HOT 2
- Whitespace are wrongly decoded when transforming pdf to html HOT 4
- Characters `ti` replaced by `(` in pdf HOT 1
- Pdf file transform in markdown leads to almost empty file HOT 3
- Cannot load markdown-html in react-native project
- TemplateMark Dingus does not load markdown transforms
- Rename CiceroMark to AgreementMark HOT 3
- Remove the Dingus
- Update all Concerto main repo dependencies to latest version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdown-transform.