@victorwu yes, this is entirely backend, but I'm not sure why we'd expect it to work - we don't support headers, bold, italics, etc. in issue titles either, as Douwe says 🙂
We don't want to overly restrict users when they are using GitLab. We should trust that they are using it responsibly, and not try to capture every single edge case and let them use the tool as they see fit. This means for fields like issue title, we should give some flexibility.
The reverse argument is that the title field is semantically just that, a title. It is not a place to do styling. So if we open the floodgates for users to start putting a lot of styling there, they may take it too far, start abusing the flexibility, and soon users may be asking for features / fixes that don't make sense, for example, when their super styled issue title looks bad in an issue board card.
@smcgivern : From a technical perspective, what's simpler to maintain? (And thus overall the product is simpler to maintain, reduces risk, etc.) I would assume if the issue title is not a special case, it makes the code cleaner?
@victorwu from a technical perspective, it's simpler to leave it like it is 🙂
Which markdown features would we want to allow in titles? Obviously not any block-level elements (headers, lists, quotes, etc.). What about bold and italic? Links seem like a bad idea, too.
@smcgivern : I think it's better to go fully in one way or another way. Wouldn't that be simpler to maintain? I think that's easier to communicate/document and just set expectations for users. So we can simply say, you can only enter plain text, and whatever you enter, it will be rendered exactly that way.
@victorwu I'm happy with that as it goes, but putting a link in an issue title is weird, because in many contexts, the title itself is a link. Maybe we just say this isn't supported for now? 😃
Back to the original issue that @joshlambert pointed out. The system note is rendering the strikethrough, but the title is not. So with whatever decide, I guess we should be consistent?
I think it's reasonable to render bold/italic/strike. But nothing beyond that for text styling. No subscript/superscript. No colors. No LaTeX. These would be helpful, but users wouldn't have the power totally abuse the field.
It should not render things like email addresses as mailto links, and generic URLs as web links.
@victorwu I think what we have right now is pretty good, unless we have a strong reason to change it. Implementing 'partial Markdown' is possible, but I don't know if that strong reason really exists.
@victorwu I think it will be very confusing on issues indexes like https://gitlab.com/gitlab-org/gitlab-ce/issues if we have labels in the title and in the row below it. It will not be clear which are actually lavels on the issue, and which are simply part of the title.