Added Markdown renderer
This commit is contained in:
parent
614d0bb4d3
commit
99d4ef8efd
@ -22,11 +22,11 @@ Configure new VM with following resources:
|
||||
## Deploy script
|
||||
* Log in via SSH (or open desktop terminal)
|
||||
* Install git
|
||||
```
|
||||
```bash
|
||||
sudo apt update && sudo apt -y install curl git
|
||||
```
|
||||
* Install code_server
|
||||
```
|
||||
```bash
|
||||
curl https://git.cmtec.se/cm/code_server/-/raw/main/update_wrapper.sh?ref_type=heads | bash -s
|
||||
```
|
||||
* exit session
|
||||
|
||||
@ -463,6 +463,37 @@ require('lazy').setup({
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
'MeanderingProgrammer/render-markdown.nvim',
|
||||
dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.nvim' }, -- if you use the mini.nvim suite
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.icons' }, -- if you use standalone mini plugins
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
|
||||
---@module 'render-markdown'
|
||||
---@type render.md.UserConfig
|
||||
opts = {
|
||||
code = {
|
||||
enabled = true,
|
||||
sign = true,
|
||||
style = 'full',
|
||||
position = 'left',
|
||||
language_pad = 0,
|
||||
language_name = true,
|
||||
disable_background = { 'diff' },
|
||||
width = 'full',
|
||||
left_margin = 0,
|
||||
left_pad = 0,
|
||||
right_pad = 0,
|
||||
min_width = 0,
|
||||
border = 'thick',
|
||||
above = '▄',
|
||||
below = '▀',
|
||||
highlight = 'RenderMarkdownCode',
|
||||
highlight_inline = 'RenderMarkdownCodeInline',
|
||||
highlight_language = nil,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
-- Utils ---------------------------------------------------
|
||||
{
|
||||
"max397574/better-escape.nvim",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user