Changed markdown from marked to markdown-it. Added emoji support https://github.com/wekan/wekan/wiki/Emoji

Thanks to xet7 !

Fixes #2696,
fixes #1537
This commit is contained in:
Lauri Ojansivu 2020-09-11 02:04:17 +03:00
parent e0957f70e6
commit 20b0177105
14 changed files with 54 additions and 9038 deletions

View file

@ -1,8 +1,6 @@
// Source: https://github.com/chjj/marked
Package.describe({
name: 'wekan-markdown',
summary: 'GitHub flavored markdown parser for Meteor based on marked.js',
summary: 'GitHub flavored markdown parser for Meteor based on markdown-it',
version: '1.0.9',
git: 'https://github.com/wekan/markdown.git',
});
@ -16,8 +14,6 @@ Package.onUse(function (api) {
api.use('templating');
api.use("ecmascript", ['server', 'client']);
api.add_files('marked/lib/marked.js', ['server', 'client']);
api.add_files('src/markdown.js', ['server', 'client']);
api.export('Markdown', ['server', 'client']);
api.use('ui', 'client', {weak: true});