editor icon indicating copy to clipboard operation
editor copied to clipboard

Inline code format ignores bold and italic

Open SeungyeopShin opened this issue 1 year ago • 5 comments
trafficstars

When use inline code format with bold and italic, in editor it looks like well.

But the value in markdown state doesn't include bold and italic format.

image image

SeungyeopShin avatar Jan 03 '24 08:01 SeungyeopShin

That's an omission in the conversion logic, indeed. I will see how if this is fixable.

petyosi avatar Jan 03 '24 09:01 petyosi

Thanks for reply. Additionally, code format in blockquote is also same case.

SeungyeopShin avatar Jan 05 '24 00:01 SeungyeopShin

From what I can see from the original specification you can't format code-snippets. It will print them out literally: https://daringfireball.net/projects/markdown/syntax#precode

Showing them formatted in the editor is the actual bug. Ideally the buttons should be deactivated when editing inline code

jschoder avatar Jan 17 '24 10:01 jschoder

@jschoder code snippets can't be formatted, but you can nest an inline code (single ticks) inside bold/italic. This has practical implications, like an emphasized paragraph that has some variables in it.

petyosi avatar Jan 17 '24 11:01 petyosi

Ideally, Something like this or this is possible, but **this** won't format anything and would just add the snippet inside ``.

khushal87 avatar Jan 23 '24 17:01 khushal87