(Markdown) Add new, more consistent header design

This commit is contained in:
2024-04-10 22:30:42 -04:00
parent ff10d843ad
commit 67420b0713
+21 -14
View File
@@ -26,31 +26,39 @@ func glamourStyle(styleName string) []byte {
}, },
"heading": { "heading": {
"block_suffix": "\n", "block_suffix": "\n",
"color": "#b16286",
"bold": true "bold": true
}, },
"h1": { "h1": {
"prefix": " ", "prefix": "──────",
"suffix": " ", "suffix": "──────",
"color": "#b16286", "color": "#689d6a",
"background_color": "229", "background_color": "#fbf1c7"
"bold": true
}, },
"h2": { "h2": {
"prefix": "## " "prefix": "+++++",
"suffix": "+++++",
"color": "#b16286",
"background_color": "#fbf1c7"
}, },
"h3": { "h3": {
"prefix": "### " "prefix": "────",
"suffix": "────",
"color": "#458588"
}, },
"h4": { "h4": {
"prefix": "#### " "prefix": "+++",
"suffix": "+++",
"color": "#d79921"
}, },
"h5": { "h5": {
"prefix": "##### " "prefix": "──",
"suffix": "──",
"color": "#98971a"
}, },
"h6": { "h6": {
"prefix": "###### ", "prefix": "+",
"bold": false "suffix": "+",
"color": "#cc241d"
}, },
"text": {}, "text": {},
"strikethrough": { "strikethrough": {
@@ -203,8 +211,7 @@ func glamourStyle(styleName string) []byte {
}, },
"html_block": {}, "html_block": {},
"html_span": {} "html_span": {}
} }`)
`)
} else { } else {
return []byte(`{}`) // TODO add Go color scheme return []byte(`{}`) // TODO add Go color scheme
} }