Skip to content

Can I disable link concealing? #231

Closed Answered by MeanderingProgrammer
Oneechan69 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, kind of.

The link concealing, along with all the other concealing behavior, is controlled by modifying the conceallevel for the window when rendering. The default we use for this is 3. You can change this to 0, meaning disable concealing, by setting this configuration:

require('render-markdown').setup({
    win_options = { conceallevel = { rendered = 0 } },
})j

Now like I said this changes all concealing behavior and concealing is used in several places, like checkboxes, wikilinks, code blocks to some extent, and potentially some others. All of these will now appear different.

There is no way to change how concealing works at a per line level in neovim, it only works at a window level.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Oneechan69
Comment options

Answer selected by MeanderingProgrammer
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