summaryrefslogtreecommitdiff
path: root/dot-config/nvim/lua/plugins/markdown.lua
blob: 48c957d9605c341ba5dab2d58613e4a4038b9911 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
return {
  {
    -- Disable linting
    "mfussenegger/nvim-lint",
    optional = true,
    opts = {
      linters_by_ft = {
        markdown = {},
      },
    },
  },
  {
    "MeanderingProgrammer/render-markdown.nvim",
    opts = {
      html = {
        comment = {
          -- Turn on / off HTML comment concealing.
          conceal = false,
        },
      },
      code = {
        -- Whether to conceal nodes at the top and bottom of code blocks.
        conceal_delimiters = false,
        -- Width of the code block background.
        -- | block | width of the code block  |
        -- | full  | full width of the window |
        width = "block",
        -- Determines how the top / bottom of code block are rendered.
        -- | none  | do not render a border                               |
        -- | thick | use the same highlight as the code body              |
        -- | thin  | when lines are empty overlay the above & below icons |
        -- | hide  | conceal lines unless language name or icon is added  |
        border = "thick",
      },
    },
  },
}