Разрешить Markdown в заголовках постов

Suggestion

Unlike

[obfuscation](link)

in a title, code does not prevent the user entering the post unknowingly – it merely provides visual accentuation. GitHub permits it in post titles.

Example

is a demonstration of why this is problematic. As the linkifier shows (because the linkifier actually uses the correct title, you have to click to view the real one) the actual title Markdown is:

`snapd` `--edge` is 2.59.4, but `--beta` is 2.59.5

which is truncated into

`snapd` `–edge` is 2.59.4, but `–beta` is 2.59.5

If the codeblocks were parsed, it would fix this problem. However, usually, the problem is solely decorative. This is merely the most important example.

4 лайка

Yes, this would be nice. I’d be happy with italics, too — and maybe bold, as long as only one or two words are bolded, not the whole thing.

1 лайк

Лично мне стиль code нужен гораздо чаще, чем жирный или курсивный шрифт, потому что на некоторых форумах для разработчиков всегда необходимо, чтобы строки вроде имен переменных не путались с обычным текстом.

@Noble_Fish, тем временем, заключать их в " — это приемлемый вариант на английском языке; именно так поступали до появления языков разметки. Я не думаю, что код часто используется вне контекста, где уместен тег <dfn>, поэтому такой подход должен быть применим.

1 лайк