Render comment markdown
Closed this issue · 2 comments
nathonius commented
This is easy to achieve, but problematic.
const textContainer = commentContainer.createDiv('trello-comment--text-container');
const text = textContainer.createEl('div', {
cls: 'trello-comment--text'
});
MarkdownRenderer.renderMarkdown(comment.data.text, text, '', this);
This works great, but styling is all over the place. A few things that need to be handled:
- Element margins
- Text size
- Probably a "see more" / "see less" type function to show/hide entire comment text if its super large
nathonius commented