Skip to content

Markdown files don't show strikethrough #256

Discussion options

You must be logged in to vote

This isn't a feature of this plugin and instead It's up to your colorscheme to provide a reasonable value for the @markup.strikethrough highlight group.

If you run the command :highlight @markup.strikethrough you'll see the value that's currently set or get an error if one does not exist. This is the output for me: @markup.strikethrough xxx cterm=strikethrough gui=strikethrough.

If you don't want to change your color scheme you can also define the highlight group yourself at some point after loading your color scheme by calling:

vim.api.nvim_set_hl(0, '@markup.strikethrough', {
    strikethrough = true,
    force = true,
})

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@egreb
Comment options

@MeanderingProgrammer
Comment options

@egreb
Comment options

@MeanderingProgrammer
Comment options

@egreb
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
3 participants