-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
I'm loving the new options.mergeHtmlAndAttachment ability to intercept and custom-format attachments --
| parts = options.mergeHtmlAndAttachment(chunks, link); |
We have done so for a custom rendering of CSV files, for example, with the following code:
However, this only works in HTML mode, not markdown mode. So when dragging in an attachment in HTML mode, this custom formatter works great. But in markdown mode it is rendered as:
[attachment-1]: /system/images/photos/000/024/808/original/114634.csv "114634.csv"
Do we need to port the mergeHtmlAndAttachment method implementation from /html/linkOrImageOrAttachment.js over to /markdown/linkOrImageOrAttachment.js to get this working in both modes?
Metadata
Metadata
Assignees
Labels
No labels