add glow config
This commit is contained in:
parent
ed84f327a7
commit
953a56a56d
2 changed files with 97 additions and 0 deletions
.config/glow
10
.config/glow/glow.yml
Normal file
10
.config/glow/glow.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# style name or JSON path (default "auto")
|
||||||
|
style: "~/.config/glow/notty.json"
|
||||||
|
# show local files only; no network (TUI-mode only)
|
||||||
|
local: false
|
||||||
|
# mouse support (TUI-mode only)
|
||||||
|
mouse: false
|
||||||
|
# use pager to display markdown
|
||||||
|
pager: false
|
||||||
|
# word-wrap at width
|
||||||
|
width: 80
|
87
.config/glow/notty.json
Normal file
87
.config/glow/notty.json
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
{
|
||||||
|
"document": {
|
||||||
|
"block_prefix": "\n",
|
||||||
|
"block_suffix": "\n",
|
||||||
|
"margin": 2
|
||||||
|
},
|
||||||
|
"block_quote": {
|
||||||
|
"indent": 1,
|
||||||
|
"indent_token": "│ "
|
||||||
|
},
|
||||||
|
"paragraph": {},
|
||||||
|
"list": {
|
||||||
|
"level_indent": 4
|
||||||
|
},
|
||||||
|
"heading": {
|
||||||
|
"block_suffix": "\n"
|
||||||
|
},
|
||||||
|
"h1": {
|
||||||
|
"prefix": "# "
|
||||||
|
},
|
||||||
|
"h2": {
|
||||||
|
"prefix": "## "
|
||||||
|
},
|
||||||
|
"h3": {
|
||||||
|
"prefix": "### "
|
||||||
|
},
|
||||||
|
"h4": {
|
||||||
|
"prefix": "#### "
|
||||||
|
},
|
||||||
|
"h5": {
|
||||||
|
"prefix": "##### "
|
||||||
|
},
|
||||||
|
"h6": {
|
||||||
|
"prefix": "###### "
|
||||||
|
},
|
||||||
|
"text": {},
|
||||||
|
"strikethrough": {
|
||||||
|
"block_prefix": "~~",
|
||||||
|
"block_suffix": "~~"
|
||||||
|
},
|
||||||
|
"emph": {
|
||||||
|
"block_prefix": "*",
|
||||||
|
"block_suffix": "*"
|
||||||
|
},
|
||||||
|
"strong": {
|
||||||
|
"block_prefix": "**",
|
||||||
|
"block_suffix": "**"
|
||||||
|
},
|
||||||
|
"hr": {
|
||||||
|
"format": "\n--------\n"
|
||||||
|
},
|
||||||
|
"item": {
|
||||||
|
"block_prefix": "• "
|
||||||
|
},
|
||||||
|
"enumeration": {
|
||||||
|
"block_prefix": ". "
|
||||||
|
},
|
||||||
|
"task": {
|
||||||
|
"ticked": "[✓] ",
|
||||||
|
"unticked": "[ ] "
|
||||||
|
},
|
||||||
|
"link": {},
|
||||||
|
"link_text": {},
|
||||||
|
"image": {},
|
||||||
|
"image_text": {
|
||||||
|
"format": "Image: {{.text}} →"
|
||||||
|
},
|
||||||
|
"code": {
|
||||||
|
"block_prefix": "`",
|
||||||
|
"block_suffix": "`"
|
||||||
|
},
|
||||||
|
"code_block": {
|
||||||
|
"margin": 2
|
||||||
|
},
|
||||||
|
"table": {
|
||||||
|
"center_separator": "┼",
|
||||||
|
"column_separator": "│",
|
||||||
|
"row_separator": "─"
|
||||||
|
},
|
||||||
|
"definition_list": {},
|
||||||
|
"definition_term": {},
|
||||||
|
"definition_description": {
|
||||||
|
"block_prefix": "\n🠶 "
|
||||||
|
},
|
||||||
|
"html_block": {},
|
||||||
|
"html_span": {}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue