Phabricator emails: Render comments with Remarkup (and style pings)
Categories
(Conduit :: Phabricator, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: mhentges, Assigned: mhentges)
References
Details
(Keywords: conduit-triaged)
Attachments
(2 files)
The raw text of Phabricator comments is in markdown. When a user views these comments, they're going to want to see the comments rendered, just like how they'd seem them on Phabricator itself.
Additionally, ensure that pings (e.g.: @mhentges) are styled so it's clear that they are pings. (Perhaps also style them specially if they're pings targeting the current recipient?)
Phabricator doesn't use Markdown, it uses Remarkup instead.
https://secure.phabricator.com/book/phabricator/article/remarkup/
This is a Phabricator specific markup language making this task more than just pointing an off-the-shelf library at the problem π
| Assignee | ||
Comment 2•5 years ago
|
||
Ah, true, thanks for the correction.
Either way, since this rendering should happen server-side IMHO (within phabricator-extensions), I'm relatively confident that we can just tie into the existing rendering logic, rather than throwing different software at it (that might render differently in unexpected ways).
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 3•5 years ago
|
||
While retaining the existing comment properties for
backwards-compatibility, this patch adds "message" properties to
events with comments and inline comment objects. These "message"
properties contain the comment markup rendered to two different formats
(text and html).
Depends on D91817
| Assignee | ||
Comment 4•5 years ago
|
||
| Assignee | ||
Updated•5 years ago
|
Description
•