honestbleeps/Reddit-Enhancement-Suite — pull request #1714 by erikdesjardins (2014-10-25 19:45:17+00:00)
Title: Better formatting of shared search results

As suggested in #1646.

Produces [+ two ending line breaks]:

---
[display gifyoutube](https://www.reddit.com/#!settings/showImages/display gifyoutube) (`[](#gear)`[RES settings console](https://www.reddit.com/#!settings) > UI > [Inline Image Viewer](https://www.reddit.com/#!settings/showImages "showImages") > [display gifyoutube](https://www.reddit.com/#!settings/showImages/display gifyoutube))
Display expander for gifyoutube

---
[Inline Image Viewer](https://www.reddit.com/#!settings/showImages "showImages") (`[](#gear)`[RES settings console](https://www.reddit.com/#!settings) > UI > [Inline Image Viewer](https://www.reddit.com/#!settings/showImages "showImages"))
Opens images inline in your browser with the click of a button. Also has configuration options, check it out!

---
I used `[](#gear)` instead of `[RES gear](#gear)` because the words make it look kinda weird on /r/enhancement, but I can put it back in if you want.

I didn't use (or modify) `result.breadcrumb` as I needed to add Markdown links within it, and `result.breadcrumb` is also used on the settings page which isn't parsed with Markdown (as far as I could tell).

I also just realized that Markdown breaks links to options with spaces in their names (like "display gifyoutube") because it replaces space with %20 (like a normal URL).