Always render backticks? #475
Answered
by
MeanderingProgrammer
LandonSchropp
asked this question in
Q&A
|
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! |
Answered by
MeanderingProgrammer
Jul 18, 2025
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 |
4 replies
Answer selected by
LandonSchropp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
extmarkso there's no way to have those features and the backticks, but the code backgrounds will still work.