In #6518 (and further in #6597) we implemented "linkification" in plain text: strings like node/123456 will automatically turn into links to features/etc in user comments.
Since this was only implemented for plain text, it only works in notes, note comments, changeset descriptions, and changeset comments, if I'm not missing anything. Text written in Markdown (diary entries, diary comments, direct messages, user profiles, etc) is not linkified.
So let's make this work in Markdown!
The problem is that we have to be careful with which specific text to linkify. For example we don't want to linkify inside code blocks (text rendered within <code> and <pre> elements), links (rendered with <a>)... and I'm not sure if others?
In #6518 (and further in #6597) we implemented "linkification" in plain text: strings like
node/123456will automatically turn into links to features/etc in user comments.Since this was only implemented for plain text, it only works in notes, note comments, changeset descriptions, and changeset comments, if I'm not missing anything. Text written in Markdown (diary entries, diary comments, direct messages, user profiles, etc) is not linkified.
So let's make this work in Markdown!
The problem is that we have to be careful with which specific text to linkify. For example we don't want to linkify inside code blocks (text rendered within
<code>and<pre>elements), links (rendered with<a>)... and I'm not sure if others?