Skip to content

Is there a way to prevent boundary symbols from being hidden? #370

Discussion options

You must be logged in to vote

You can do that, but that will impact how a lot of things are rendered, like tables and checkboxes for example. Without the ability to conceal text (which is what conceallevel = 0 does) many other things will render poorly.

Instead I would update your highlights to not conceal elements you don't want to be hidden. The highlights likely come from nvim-treesitter and can be overridden by you.

For example to keep backticks around code blocks copy this file: https://github.com/nvim-treesitter/nvim-treesitter/blob/master/queries/markdown_inline/highlights.scm to your local directory at: <config_root>/queries/markdown_inline/highlights.scm and remove the bit that hides the code delimiters.

That…

Replies: 1 comment 1 reply

Comment options

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

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