mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
feat(markdown): Markdown render plugin updates
- Use default colors which are more sensible - Render paragraphs, bullets & quotes - Better indentation rendering
This commit is contained in:
@@ -6,11 +6,11 @@ return {
|
|||||||
init = function()
|
init = function()
|
||||||
-- Define color variables
|
-- Define color variables
|
||||||
local color1_bg = "#295715"
|
local color1_bg = "#295715"
|
||||||
local color2_bg = "#8d8200"
|
local color2_bg = "#295477"
|
||||||
local color3_bg = "#a56106"
|
local color3_bg = "#395499"
|
||||||
local color4_bg = "#7e0000"
|
local color4_bg = "#495477"
|
||||||
local color5_bg = "#1e0b7b"
|
local color5_bg = "#595477"
|
||||||
local color6_bg = "#560b7b"
|
local color6_bg = "#695477"
|
||||||
local color_fg = "white"
|
local color_fg = "white"
|
||||||
|
|
||||||
-- Heading colors (when not hovered over), extends through the entire line
|
-- Heading colors (when not hovered over), extends through the entire line
|
||||||
@@ -42,28 +42,28 @@ return {
|
|||||||
heading = {
|
heading = {
|
||||||
sign = false,
|
sign = false,
|
||||||
icons = { " ", " ", " ", " ", " ", " " },
|
icons = { " ", " ", " ", " ", " ", " " },
|
||||||
backgrounds = {
|
width = "block",
|
||||||
"Headline1Bg",
|
right_pad = 1,
|
||||||
"Headline2Bg",
|
-- position = { "right" },
|
||||||
"Headline3Bg",
|
|
||||||
"Headline4Bg",
|
|
||||||
"Headline5Bg",
|
|
||||||
"Headline6Bg",
|
|
||||||
},
|
},
|
||||||
foregrounds = {
|
paragraph = {
|
||||||
"Headline1Fg",
|
render_modes = true,
|
||||||
"Headline2Fg",
|
|
||||||
"Headline3Fg",
|
|
||||||
"Headline4Fg",
|
|
||||||
"Headline5Fg",
|
|
||||||
"Headline6Fg",
|
|
||||||
},
|
},
|
||||||
|
bullet = {
|
||||||
|
render_modes = true,
|
||||||
|
},
|
||||||
|
checkbox = {
|
||||||
|
render_modes = true,
|
||||||
|
},
|
||||||
|
quote = {
|
||||||
|
render_modes = true,
|
||||||
},
|
},
|
||||||
pipe_table = {
|
pipe_table = {
|
||||||
preset = "round",
|
preset = "round",
|
||||||
},
|
},
|
||||||
indent = {
|
indent = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
|
render_modes = true,
|
||||||
skip_heading = true,
|
skip_heading = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user