- Adds support for superscript when rendering article markdown - Chatwoot Markdown Render to render markdown everywhere Co-authored-by: Sojan <sojan@pepalo.com>
9 lines
302 B
Plaintext
9 lines
302 B
Plaintext
<% if @message.content %>
|
|
<%= ChatwootMarkdownRenderer.new(@message.content).render_message %>
|
|
<% end %>
|
|
<% if @message.attachments %>
|
|
<% @message.attachments.each do |attachment| %>
|
|
attachment [<a href="<%= attachment.file_url %>" _target="blank">click here to view</a>]
|
|
<% end %>
|
|
<% end %>
|