Export Gingko tree to specific format. Available as component and node module.
var gingkoExport = require('gingko-export');
var cards = app.get('cards').toJSON();
var html = gingkoExport(cards, { format: 'html' });
console.log(html); // cards in html formatcards is an array ob objects.
Available options:
- format(required) - txt, html, impress
- column - all columns or only specific one
- cardId - export subtree
Use markedOptions to pass specific options
for marked.
- should have .use concept
- sort and filter are tasks for different modules.