wekan/packages/markdown
brian-j 0180196d7e Alter call to sanitizeXss
Addressing feature: Custom URL Schemes autolinked #3218

Create a custom SafeAttrValue function which can allow non-standard protocols such as thunderlink: cbthunderlink: and aodroplink: to operate correctly without getting the value stripped away. Any other protocols and code remain to be processed by the default safeAttrValue routine.
2020-11-10 18:03:17 -03:00
..
src Alter call to sanitizeXss 2020-11-10 18:03:17 -03:00
package.js Changed markdown from marked to markdown-it. Added emoji support https://github.com/wekan/wekan/wiki/Emoji 2020-09-11 02:04:17 +03:00
README.md Update dependencies. 2020-09-05 01:36:43 +03:00
smart.json Update dependencies. 2020-09-05 01:36:43 +03:00

markdown

GitHub flavored markdown parser for Meteor based on marked.js newest version, updated by xet7.

GFM tables and linebreaks are enabled by default.

Usage

Anywhere inside your template add markdown block and write markdown inside.

Example:

{{#markdown}}

...markdown text here...

{{/markdown}}

That's it!

Thanks to:

  • Christopher Jeffrey for marked.js

  • Bozhao Yu for original meteor-markdown package (I just made this package compatible with Meteor 0.9+)

  • Bernhard Millauer - for contributions to this package

  • xet7 for updating to newest GFM package.

License

MIT