@accordproject/markdown-template
A framework for transforming markdown
Last updated 7 hours ago by jsimeon .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @accordproject/markdown-template 
SYNC missed versions from official npm registry.

TemplateMark Transform

This package extends CommonMark to introduce Accord Project grammar support with:

  1. Clause definitions
  2. Variable definitions
  3. Formulas

Use TemplateMarkTransform to map from CommonMark to TemplateMark DOM nodes.

Installation

npm install @accordproject/markdown-template --save

Usage


const TemplateMarkTransformer = require('@accordproject/markdown-template').TemplateMarkTransformer;
const ModelLoader = require('@accordproject/concerto-core').ModelLoader;

const modelManager = await ModelLoader.loadModelManager(null, parameters.ctoFiles);
const templateMarkTransformer = new TemplateMarkTransformer();

return templateMarkTransformer.fromMarkdownTemplate({ fileName:parameters.inputFileName, content:input }, modelManager, templateKind, options);

License

Accord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.

© 2017-2019 Clause, Inc.

Current Tags

  • 0.12.1                                ...           latest (7 hours ago)
  • 0.12.2-20200806042238                                ...           unstable (6 hours ago)

232 Versions

  • 0.12.2-20200806042238                                ...           6 hours ago
  • 0.12.2-20200806030556                                ...           7 hours ago
  • 0.12.1                                ...           7 hours ago
  • 0.12.1-20200806030006                                ...           7 hours ago
  • 0.12.1-20200804183300                                ...           2 days ago
  • 0.11.4-20200727143326                                ...           10 days ago
  • 0.12.1-20200722223648                                ...           14 days ago
  • 0.12.0                                ...           14 days ago
  • 0.11.4-20200722222954                                ...           14 days ago
  • 0.11.4-20200722195203                                ...           15 days ago
  • 0.11.4-20200722192050                                ...           15 days ago
  • 0.11.4-20200722175737                                ...           15 days ago
  • 0.11.4-20200722175642                                ...           15 days ago
  • 0.11.4-20200722173656                                ...           15 days ago
  • 0.11.4-20200722170505                                ...           15 days ago
  • 0.11.4-20200722170216                                ...           15 days ago
  • 0.11.4-20200722165027                                ...           15 days ago
  • 0.11.4-20200722061403                                ...           15 days ago
  • 0.11.4-20200722061337                                ...           15 days ago
  • 0.11.4-20200722055454                                ...           15 days ago
  • 0.11.4-20200722033318                                ...           15 days ago
  • 0.11.4-20200722032144                                ...           15 days ago
  • 0.11.4-20200722031332                                ...           15 days ago
  • 0.11.4-20200722030319                                ...           15 days ago
  • 0.11.4-20200720183653                                ...           17 days ago
  • 0.11.4-20200720173018                                ...           17 days ago
  • 0.11.4-20200720161409                                ...           17 days ago
  • 0.11.4-20200715165605                                ...           22 days ago
  • 0.11.4-20200715151853                                ...           22 days ago
  • 0.11.4-20200713052031                                ...           24 days ago
  • 0.11.4-20200713050340                                ...           24 days ago
  • 0.11.4-20200712202627                                ...           25 days ago
  • 0.11.4-20200712193831                                ...           25 days ago
  • 0.11.4-20200712192311                                ...           25 days ago
  • 0.11.4-20200712183800                                ...           25 days ago
  • 0.11.4-20200712183704                                ...           25 days ago
  • 0.11.4-20200712181706                                ...           25 days ago
  • 0.11.4-20200711184021                                ...           a month ago
  • 0.11.4-20200711183931                                ...           a month ago
  • 0.11.4-20200711183148                                ...           a month ago
  • 0.11.4-20200711181224                                ...           a month ago
  • 0.11.4-20200711041942                                ...           a month ago
  • 0.11.4-20200711024710                                ...           a month ago
  • 0.11.4-20200711005944                                ...           a month ago
  • 0.11.4-20200710230208                                ...           a month ago
  • 0.11.4-20200710202549                                ...           a month ago
  • 0.11.4-20200710155447                                ...           a month ago
  • 0.11.4-20200710154317                                ...           a month ago
  • 0.11.4-20200709015822                                ...           a month ago
  • 0.11.4-20200709012123                                ...           a month ago
  • 0.11.4-20200708182551                                ...           a month ago
  • 0.11.4-20200708180902                                ...           a month ago
  • 0.11.4-20200708175547                                ...           a month ago
  • 0.11.4-20200707161837                                ...           a month ago
  • 0.11.4-20200707133347                                ...           a month ago
  • 0.11.4-20200707131541                                ...           a month ago
  • 0.11.4-20200707125600                                ...           a month ago
  • 0.11.4-20200707100334                                ...           a month ago
  • 0.11.4-20200707100055                                ...           a month ago
  • 0.11.4-20200707095510                                ...           a month ago
  • 0.11.4-20200707095337                                ...           a month ago
  • 0.11.4-20200707011139                                ...           a month ago
  • 0.11.4-20200707010446                                ...           a month ago
  • 0.11.4-20200707004055                                ...           a month ago
  • 0.11.4-20200706232202                                ...           a month ago
  • 0.11.4-20200706212125                                ...           a month ago
  • 0.11.4-20200706193223                                ...           a month ago
  • 0.11.4-20200706185454                                ...           a month ago
  • 0.11.4-20200706183120                                ...           a month ago
  • 0.11.4-20200705003343                                ...           a month ago
  • 0.11.4-20200705001053                                ...           a month ago
  • 0.11.4-20200704234659                                ...           a month ago
  • 0.11.4-20200704152856                                ...           a month ago
  • 0.11.4-20200704144237                                ...           a month ago
  • 0.11.4-20200704143005                                ...           a month ago
  • 0.11.4-20200704141438                                ...           a month ago
  • 0.11.4-20200704140827                                ...           a month ago
  • 0.11.4-20200704134227                                ...           a month ago
  • 0.11.4-20200703200946                                ...           a month ago
  • 0.11.4-20200703200918                                ...           a month ago
  • 0.11.4-20200703195711                                ...           a month ago
  • 0.11.4-20200703183107                                ...           a month ago
  • 0.11.4-20200703173729                                ...           a month ago
  • 0.11.4-20200703170411                                ...           a month ago
  • 0.11.4-20200703165056                                ...           a month ago
  • 0.11.4-20200703164146                                ...           a month ago
  • 0.11.4-20200702181344                                ...           a month ago
  • 0.11.4-20200702180634                                ...           a month ago
  • 0.11.4-20200702154350                                ...           a month ago
  • 0.11.4-20200702144254                                ...           a month ago
  • 0.11.4-20200701180211                                ...           a month ago
  • 0.11.4-20200701175638                                ...           a month ago
  • 0.11.4-20200701172040                                ...           a month ago
  • 0.11.4-20200701171432                                ...           a month ago
  • 0.11.4-20200701162716                                ...           a month ago
  • 0.11.4-20200701142613                                ...           a month ago
  • 0.11.4-20200701050938                                ...           a month ago
  • 0.11.4-20200701043459                                ...           a month ago
  • 0.11.4-20200701041929                                ...           a month ago
  • 0.11.4-20200701015027                                ...           a month ago
  • 0.11.4-20200630204031                                ...           a month ago
  • 0.11.4-20200630203124                                ...           a month ago
  • 0.11.4-20200630180643                                ...           a month ago
  • 0.11.4-20200630160737                                ...           a month ago
  • 0.11.4-20200630144050                                ...           a month ago
  • 0.11.4-20200630143040                                ...           a month ago
  • 0.11.4-20200630140940                                ...           a month ago
  • 0.11.4-20200630135924                                ...           a month ago
  • 0.11.4-20200630134928                                ...           a month ago
  • 0.11.4-20200626164143                                ...           a month ago
  • 0.11.4-20200626163157                                ...           a month ago
  • 0.11.4-20200626055423                                ...           a month ago
  • 0.11.4-20200626045711                                ...           a month ago
  • 0.11.4-20200626043720                                ...           a month ago
  • 0.11.4-20200626032533                                ...           a month ago
  • 0.11.4-20200626032411                                ...           a month ago
  • 0.11.4-20200626015035                                ...           a month ago
  • 0.11.4-20200625182625                                ...           a month ago
  • 0.11.4-20200625174439                                ...           a month ago
  • 0.11.4-20200625171755                                ...           a month ago
  • 0.11.4-20200625155813                                ...           a month ago
  • 0.11.4-20200625155715                                ...           a month ago
  • 0.11.4-20200624233906                                ...           a month ago
  • 0.11.4-20200624224229                                ...           a month ago
  • 0.11.4-20200624223524                                ...           a month ago
  • 0.11.4-20200624222918                                ...           a month ago
  • 0.11.4-20200624221051                                ...           a month ago
  • 0.11.4-20200624220750                                ...           a month ago
  • 0.11.4-20200624142348                                ...           a month ago
  • 0.11.4-20200624110323                                ...           a month ago
  • 0.11.4-20200620013420                                ...           2 months ago
  • 0.11.4-20200619181813                                ...           2 months ago
  • 0.11.4-20200618182921                                ...           2 months ago
  • 0.11.4-20200618165656                                ...           2 months ago
  • 0.11.4-20200618164446                                ...           2 months ago
  • 0.11.4-20200618161642                                ...           2 months ago
  • 0.11.4-20200618152652                                ...           2 months ago
  • 0.11.4-20200617192725                                ...           2 months ago
  • 0.11.4-20200617192131                                ...           2 months ago
  • 0.11.4-20200617135937                                ...           2 months ago
  • 0.11.4-20200617052654                                ...           2 months ago
  • 0.11.4-20200617032349                                ...           2 months ago
  • 0.11.4-20200617012325                                ...           2 months ago
  • 0.11.4-20200617005436                                ...           2 months ago
  • 0.11.4-20200616194215                                ...           2 months ago
  • 0.11.4-20200615222153                                ...           2 months ago
  • 0.11.4-20200615214044                                ...           2 months ago
  • 0.11.4-20200615155800                                ...           2 months ago
  • 0.11.4-20200615005015                                ...           2 months ago
  • 0.11.4-20200612235829                                ...           2 months ago
  • 0.11.4-20200612235122                                ...           2 months ago
  • 0.11.4-20200612173621                                ...           2 months ago
  • 0.11.4-20200611165945                                ...           2 months ago
  • 0.11.4-20200611013654                                ...           2 months ago
  • 0.11.4-20200610171202                                ...           2 months ago
  • 0.11.4-20200610163329                                ...           2 months ago
  • 0.11.4-20200610134815                                ...           2 months ago
  • 0.11.4-20200610133611                                ...           2 months ago
  • 0.11.4-20200610025740                                ...           2 months ago
  • 0.11.4-20200610024803                                ...           2 months ago
  • 0.11.4-20200609234600                                ...           2 months ago
  • 0.11.4-20200609225804                                ...           2 months ago
  • 0.11.4-20200605175838                                ...           2 months ago
  • 0.11.4-20200605164923                                ...           2 months ago
  • 0.11.4-20200605164258                                ...           2 months ago
  • 0.11.4-20200605164221                                ...           2 months ago
  • 0.11.4-20200603175232                                ...           2 months ago
  • 0.11.4-20200602145104                                ...           2 months ago
  • 0.11.4-20200602144131                                ...           2 months ago
  • 0.11.4-20200530175112                                ...           2 months ago
  • 0.11.4-20200528043045                                ...           2 months ago
  • 0.11.4-20200528033953                                ...           2 months ago
  • 0.11.4-20200526224928                                ...           2 months ago
  • 0.11.4-20200526160648                                ...           2 months ago
  • 0.11.4-20200523182021                                ...           2 months ago
  • 0.11.4-20200523052740                                ...           2 months ago
  • 0.11.4-20200523014133                                ...           2 months ago
  • 0.11.3-20200522155017                                ...           2 months ago
  • 0.11.3-20200521230806                                ...           3 months ago
  • 0.11.3-20200521172510                                ...           3 months ago
  • 0.11.3-20200521001914                                ...           3 months ago
  • 0.11.3-20200520222959                                ...           3 months ago
  • 0.11.3-20200520200138                                ...           3 months ago
  • 0.11.3-20200520183539                                ...           3 months ago
  • 0.11.3-20200520174111                                ...           3 months ago
  • 0.11.3-20200520153627                                ...           3 months ago
  • 0.11.3-20200519212611                                ...           3 months ago
  • 0.11.3-20200519172727                                ...           3 months ago
  • 0.11.3-20200519142417                                ...           3 months ago
  • 0.11.3-20200519141304                                ...           3 months ago
  • 0.11.3-20200519135953                                ...           3 months ago
  • 0.11.3-20200519135526                                ...           3 months ago
  • 0.11.3-20200519052359                                ...           3 months ago
  • 0.11.3-20200518231720                                ...           3 months ago
  • 0.11.3-20200518223850                                ...           3 months ago
  • 0.11.3-20200518205154                                ...           3 months ago
  • 0.11.3-20200518173830                                ...           3 months ago
  • 0.11.3-20200518171107                                ...           3 months ago
  • 0.11.3-20200508163824                                ...           3 months ago
  • 0.11.3-20200507221145                                ...           3 months ago
  • 0.11.3-20200507220320                                ...           3 months ago
  • 0.11.3-20200507165254                                ...           3 months ago
  • 0.11.3-20200507151446                                ...           3 months ago
  • 0.11.3-20200507073248                                ...           3 months ago
  • 0.11.3-20200504175944                                ...           3 months ago
  • 0.11.3-20200502235247                                ...           3 months ago
  • 0.11.3-20200501035547                                ...           3 months ago
  • 0.11.3-20200501034440                                ...           3 months ago
  • 0.11.3-20200501032727                                ...           3 months ago
  • 0.11.3-20200430165524                                ...           3 months ago
  • 0.11.3-20200430024841                                ...           3 months ago
  • 0.11.3-20200430024259                                ...           3 months ago
  • 0.11.3-20200429185617                                ...           3 months ago
  • 0.11.3-20200428153849                                ...           3 months ago
  • 0.11.2-20200427182720                                ...           3 months ago
  • 0.11.2-20200427181207                                ...           3 months ago
  • 0.11.2-20200427172247                                ...           3 months ago
  • 0.11.2-20200425033057                                ...           3 months ago
  • 0.11.2-20200425032633                                ...           3 months ago
  • 0.11.2-20200425031413                                ...           3 months ago
  • 0.11.2-20200425024207                                ...           3 months ago
  • 0.11.2-20200425023617                                ...           3 months ago
  • 0.11.2-20200425023111                                ...           3 months ago
  • 0.11.2-20200425020854                                ...           3 months ago
  • 0.10.5-20200423204847                                ...           3 months ago
  • 0.10.5-20200423144122                                ...           3 months ago
  • 0.10.5-20200423042326                                ...           3 months ago
  • 0.10.5-20200423041628                                ...           3 months ago
  • 0.10.5-20200423033112                                ...           3 months ago
  • 0.10.5-20200421141857                                ...           4 months ago
  • 0.10.5-20200420165956                                ...           4 months ago
  • 0.10.5-20200420162323                                ...           4 months ago
Downloads
Today 278
This Week 300
This Month 300
Last Day 22
Last Week 226
Last Month 1,930
Dev Dependencies (12)

Copyright 2014 - 2016 © taobao.org |