GNOME Bugzilla – Bug 739464
Format Markdown-like text
Last modified: 2021-07-05 13:28:33 UTC
As requested (bug #737121), it would be useful to render Markdown or Markdown-style text in the conversation viewer. In the least, it would be useful to convert *bold* and _italic_ into formatted versions. Other possible conversions include bullet lists, ordered lists, and code. One question here is if to use a full-blown Markdown parser or to hand-roll a partial version. There is ongoing work to standarize Markdown, but as I don't see full-blown Markdown emails going around (especially emails w/ Content-Types of "text/x-markdown" or similar), then I suspect what we'll need to use is a hand-rolled parser that captures the subset we're interested in. See also: http://commonmark.org/ http://talk.commonmark.org/t/welcome-to-commonmark-discussion/8 http://stackoverflow.com/questions/10701983/what-is-the-mime-type-for-markdown
Markdown including TeX math formulas would be so sweet! (here is is a markdown extension for Firefox/Gmail that be be used for references of features http://markdown-here.com/features.html)
Ideally, this would support at least text formatting for **bold** and *italic*, for both unordered lists: > * Item A > * Item B And ordered lists: > 1. The first > 2. The second Bonus points would include support for `inline code` and code blocks: > ``` > Some code > ``` And combo points for links: > [Link][1] > ⋮ > [1]: http://b.org Support for these could be indicated by only hiding unsupported elements in the composer when not in rich text mode, e.g. by keeping bold and italic visible, and only hiding underline and strike-through.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/geary/-/issues/ Thank you for your understanding and your help.