Always render backticks? #475
-
Is it possible to enable rendering for code blocks while still displaying the backticks? I like the formatting, but I don't love the concealed text. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
There is after this change: 7620d4e You do need to configure several options: require('render-markdown').setup({
code = {
conceal_delimiters = false,
language = false,
border = 'none',
},
}) The first one remove the concealing behavior, the other 2 are needed to prevent the language heading / borders from being added since those both end up overlaying the backticks. The language heading / borders are a complete overlay, none of the text below them is actually being shown it's just copied into the |
Beta Was this translation helpful? Give feedback.
There is after this change: 7620d4e
You do need to configure several options:
The first one remove the concealing behavior, the other 2 are needed to prevent the language heading / borders from being added since those both end up overlaying the backticks. The language heading / borders are a complete overlay, none of the text below them is actually being shown it's just copied into the
extmark
so there's no way to have those features and the backticks, but the code backgrounds will still work.