changing markdown options to work best with and without Obsidian

This commit is contained in:
Joost Agterhoek 2024-10-29 14:37:41 +01:00
parent 2250714cb3
commit ba0f68dc61
2 changed files with 5 additions and 0 deletions

View File

@ -1 +1,3 @@
vim.opt_local.conceallevel = 2
vim.cmd 'autocmd BufEnter * set formatoptions-=cro'
vim.cmd 'autocmd BufEnter * setlocal formatoptions-=cro'

View File

@ -5,6 +5,9 @@ return {
config = function()
require('render-markdown').setup {
enabled = true,
heading = {
width = 'block',
},
bullet = {
right_pad = 1,
},