Skip to content

Always render backticks? #475

Discussion options

You must be logged in to vote

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 extmark so there's no way to have those features and the backticks, but the code backgrounds will still work.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@LandonSchropp
Comment options

@LandonSchropp
Comment options

@MeanderingProgrammer
Comment options

@LandonSchropp
Comment options

Answer selected by LandonSchropp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants