0

Experiment with markdown being supported in chat messgaes

This commit is contained in:
Gabe Kangas 2020-06-19 13:40:36 -07:00
parent 7bdc9052d3
commit 4c194afce9

View File

@ -13,7 +13,8 @@ class Message {
}
formatText() {
var linked = autoLink(this.body, { embed: true });
var markdownToHTML = new showdown.Converter({ emoji: true, openLinksInNewWindow: true, tables: false, strikethrough: false, simplifiedAutoLink: false}).makeHtml(this.body);
var linked = autoLink(markdownToHTML, { embed: true });
return addNewlines(linked);
}
userColor() {