mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-08-29 21:26:44 -04:00
Use indents instead of margins in notty style
This commit is contained in:
+1
-1
@@ -7,6 +7,6 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
data := "PK\x03\x04\x14\x00\x08\x00\x08\x00\x88\x03\x86O\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00 \x00dark.jsonUT\x05\x00\x01\xa0\xa0\xe9]\x94\x92[N\xeb0\x10\x86\xdf\xb3\n\xcb\xe7\xe5 \x01j\xdd\x96KE\xd9\x08\xa0\xca\x89\xa7\xa9\x15_\xaa\x89-U\xa0J\xec\x81\x05 \xb1 \xf6\xc3\nX\x02\x8az\xb1CL(\x8f\xfe\xfd\xcf|s{\xca\x08\xa1\xc2\x16^\x83qtJ\x9a7!T\x1a\xb1}\x8fO\xb7B\xce\x8b\xaaD\xeb\x8d\x98\x17VY\xa4SB\xd9hLw\xdf+\x84\x85\\7\xe2\xbd\xd9k\xb5_\x04-#d\xd3\xe8TIS\x05\xce!\xd7\x90\x8d\xf6q\xde\x08@%\x0d\xd0)q\xe8\xa1\x83\xf8\xdf%\x9c\xb4\x01s\x07k\xd7O\xc9\xad\x12;\xc0!Tj^B\x7fX\xa8\xe2\xee\xf3\xf5\xe5\x9dtKy\xa0\xed|?\xd5r\x15|K\xe0B\x9a2\x98R\xe3\xd4\x1cKi\xa2\x95\x84\xf2&\xb4gK\x93\xcb\x084L3f\xb7\x89F\xc8\xcd\xac\xc3f\xdd\xe9\xf5\xa0/\xae#4K\xa3\xff\x91\xe0q<W\xd1\xfcC\xc7\x07\xc7\x8a#/\x91\xaf\x96)\xd7\xdf\xe6\xc2F\x93@.\xacH-\x9e\x0d\x06m\xcf<W\xb6\xa8\x8e\x817\xa1;\xcd-A7\xd9im\x15G\xf9\x08\xe2Lp\xacBf\xd0qC\xd2q%\x8b\xef\xb7Y;\xb4\xf1\x89\xa4\xeeW\xc9\xda\x1dS\xdb/\x07\xc3\xa2\x0bv\xa0S{\xfbx~\x8b\xf6\x06\xc6k@\xee\xa45)\xf3\xf9\xd6\x9am\xb2\xaf\x00\x00\x00\xff\xffPK\x07\x08\x9e\x12\xa9mU\x01\x00\x00n\x04\x00\x00PK\x03\x04\x14\x00\x08\x00\x08\x00\x13x\x82O\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n\x00 \x00light.jsonUT\x05\x00\x01\x16'\xe5]\x84\x91MN\xc40\x0c\x85\xf7s\n\xcb+\x90\xca\x82\xbfMo\xc0\x19\x10\x1au\x1aOc\xe1$\xa3\xd4\x95F $\xce\xc2\xd18 \n\x14\x920-,\xba\xa8\xf3\xfc\xbeg\xfby\x03\x00\x80\xc2\xfe\x11[\xf8\xfa\x03\xc0>H\x88\xd8\x02^\xdd\xdcb\xf3]\x9d\xbc\xa1(\xec [\xd08\xd1\xcf\xc3!\xd2\x9e\x8fI\x7f\x96\xd5\xe3\xb4\x9f\x8b\xe7\xf8Y{i2l\xabt\xd4e\xe2uA\xdc\x0513\xac\xb2`\xd7\x0d\xf4\x7f\xe0\x9c\xeb\xfe.u\xb4\xb0\x14\xef\x01O\xbd\xff\xceW\xe9-u\x86\xfdP\x8a\x8b\xd8\xcd\x89\xc1e\xdd\xde\x07\xb32\xc9oPRnw\x12\xfa\x95S\x95\x8bSK.\xd9\xe2\x18\xa4\x8b\xfcD\xe6Bx\xb0Z;\x92;\xd8\xd2\x8b\xb5\x13\xee\x97\x16>j\x0c\xab3\xd6\xebSr\xa5.\xdf\xe0\xfd\xf5\x0df\xfe&}\x1f\x01\x00\x00\xff\xffPK\x07\x08\xac\xc6\xad\xf0\xdf\x00\x00\x00|\x02\x00\x00PK\x03\x04\x14\x00\x08\x00\x08\x00r\x91\x86O\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n\x00 \x00notty.jsonUT\x05\x00\x01\xd9\x99\xea]|\x92QJ\xc40\x10\x86\xdf{\x8a!\xbeh\x11\xc1\xc5\xa7\xe2\xfa\xee\x19T\xdc\xd9v\xb6;l3)i\n\x82\x14<\x8bG\xf3$R*L%C\x1f\xf3w\xbe/\x7f\xd2|\x16\x00\xae \xf5\xe8I\x92\xab`^\x038\x96fY?\xdc.A\x1f\xe9\xc4\x1f\xae\x02\xf7*\xee/\x1b\xc6\x93f\x05\xc04\xe7\xaec\xb9\xa8H\xb9\xeb\x1c\xbbQ\x8a=\xb6da/\xcf\xf3\x97\nr\xfaM\xe93a\xc3\xd2Z\xbc\xd6\xf5\x18[\x96\xf9L\xca\xdd\xdb\xc8\xfe\xc9\xd8\x0f\x1e\xf7\x99j\xa7\xaa\x9d\xad\xba\x02\xad\x99\xf0\xd8\xad\x0ei\x14\xea1b\x1b\xb1?oN\xd5\xa11\xef\xea\x90\x97>\xb8\x7f\xd4\xfb\xb1\x0b\xf5eSN~\xbd\xbb\xca\xcb\\^\xaa|H1\xd8?\xa0\xb4\xc0r\xfd^\x86\xb4Y\x88\x13yK\xfc\xf3\xf5\xbd\xba[\x92\xd1S\xc4\xc4A\xac\xe1\xbbe\xb4\x98\x8a\xdf\x00\x00\x00\xff\xffPK\x07\x08'\xdc\x93Q\xe7\x00\x00\x00\xf2\x02\x00\x00PK\x01\x02\x14\x03\x14\x00\x08\x00\x08\x00\x88\x03\x86O\x9e\x12\xa9mU\x01\x00\x00n\x04\x00\x00 \x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\x81\x00\x00\x00\x00dark.jsonUT\x05\x00\x01\xa0\xa0\xe9]PK\x01\x02\x14\x03\x14\x00\x08\x00\x08\x00\x13x\x82O\xac\xc6\xad\xf0\xdf\x00\x00\x00|\x02\x00\x00\n\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\x81\x95\x01\x00\x00light.jsonUT\x05\x00\x01\x16'\xe5]PK\x01\x02\x14\x03\x14\x00\x08\x00\x08\x00r\x91\x86O'\xdc\x93Q\xe7\x00\x00\x00\xf2\x02\x00\x00\n\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\x81\xb5\x02\x00\x00notty.jsonUT\x05\x00\x01\xd9\x99\xea]PK\x05\x06\x00\x00\x00\x00\x03\x00\x03\x00\xc2\x00\x00\x00\xdd\x03\x00\x00\x00\x00"
|
||||
data := "PK\x03\x04\x14\x00\x08\x00\x08\x00\x88\x03\x86O\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00 \x00dark.jsonUT\x05\x00\x01\xa0\xa0\xe9]\x94\x92[N\xeb0\x10\x86\xdf\xb3\n\xcb\xe7\xe5 \x01j\xdd\x96KE\xd9\x08\xa0\xca\x89\xa7\xa9\x15_\xaa\x89-U\xa0J\xec\x81\x05 \xb1 \xf6\xc3\nX\x02\x8az\xb1CL(\x8f\xfe\xfd\xcf|s{\xca\x08\xa1\xc2\x16^\x83qtJ\x9a7!T\x1a\xb1}\x8fO\xb7B\xce\x8b\xaaD\xeb\x8d\x98\x17VY\xa4SB\xd9hLw\xdf+\x84\x85\\7\xe2\xbd\xd9k\xb5_\x04-#d\xd3\xe8TIS\x05\xce!\xd7\x90\x8d\xf6q\xde\x08@%\x0d\xd0)q\xe8\xa1\x83\xf8\xdf%\x9c\xb4\x01s\x07k\xd7O\xc9\xad\x12;\xc0!Tj^B\x7fX\xa8\xe2\xee\xf3\xf5\xe5\x9dtKy\xa0\xed|?\xd5r\x15|K\xe0B\x9a2\x98R\xe3\xd4\x1cKi\xa2\x95\x84\xf2&\xb4gK\x93\xcb\x084L3f\xb7\x89F\xc8\xcd\xac\xc3f\xdd\xe9\xf5\xa0/\xae#4K\xa3\xff\x91\xe0q<W\xd1\xfcC\xc7\x07\xc7\x8a#/\x91\xaf\x96)\xd7\xdf\xe6\xc2F\x93@.\xacH-\x9e\x0d\x06m\xcf<W\xb6\xa8\x8e\x817\xa1;\xcd-A7\xd9im\x15G\xf9\x08\xe2Lp\xacBf\xd0qC\xd2q%\x8b\xef\xb7Y;\xb4\xf1\x89\xa4\xeeW\xc9\xda\x1dS\xdb/\x07\xc3\xa2\x0bv\xa0S{\xfbx~\x8b\xf6\x06\xc6k@\xee\xa45)\xf3\xf9\xd6\x9am\xb2\xaf\x00\x00\x00\xff\xffPK\x07\x08\x9e\x12\xa9mU\x01\x00\x00n\x04\x00\x00PK\x03\x04\x14\x00\x08\x00\x08\x00\x13x\x82O\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n\x00 \x00light.jsonUT\x05\x00\x01\x16'\xe5]\x84\x91MN\xc40\x0c\x85\xf7s\n\xcb+\x90\xca\x82\xbfMo\xc0\x19\x10\x1au\x1aOc\xe1$\xa3\xd4\x95F $\xce\xc2\xd18 \n\x14\x920-,\xba\xa8\xf3\xfc\xbeg\xfby\x03\x00\x80\xc2\xfe\x11[\xf8\xfa\x03\xc0>H\x88\xd8\x02^\xdd\xdcb\xf3]\x9d\xbc\xa1(\xec [\xd08\xd1\xcf\xc3!\xd2\x9e\x8fI\x7f\x96\xd5\xe3\xb4\x9f\x8b\xe7\xf8Y{i2l\xabt\xd4e\xe2uA\xdc\x0513\xac\xb2`\xd7\x0d\xf4\x7f\xe0\x9c\xeb\xfe.u\xb4\xb0\x14\xef\x01O\xbd\xff\xceW\xe9-u\x86\xfdP\x8a\x8b\xd8\xcd\x89\xc1e\xdd\xde\x07\xb32\xc9oPRnw\x12\xfa\x95S\x95\x8bSK.\xd9\xe2\x18\xa4\x8b\xfcD\xe6Bx\xb0Z;\x92;\xd8\xd2\x8b\xb5\x13\xee\x97\x16>j\x0c\xab3\xd6\xebSr\xa5.\xdf\xe0\xfd\xf5\x0df\xfe&}\x1f\x01\x00\x00\xff\xffPK\x07\x08\xac\xc6\xad\xf0\xdf\x00\x00\x00|\x02\x00\x00PK\x03\x04\x14\x00\x08\x00\x08\x00@\x92\x86O\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n\x00 \x00notty.jsonUT\x05\x00\x01Y\x9b\xea]|\x92\xc1J\xc40\x10\x86\xef}\x8aa\xbch\x10\xd1=\x16\xd7\xbb\xcf\xa0\xe2f\x9b\xd9n\xd8&)i\n\x82\x14|\x16\x1f\xcd'\x91\xd2\xc3d\xc9\x90c\xa7\xf3}\xf3\xcf\xb4\xdf\x0d\x00\x9a\xd0\xcd\x8e|\xc2\x16\xd6g\x00\x1c#\x9d\xec\x17\xb6\x80\xef\x1e\xef\xb7\xda4\x9f\xb8\xd6\x00,k\x1d\x07\xeb/\x12w[bwLY\xa7{\x92\xb0\xb7\xd7\xf5M\x0b%\xfd\xc1\xf4\x99\xb4\xb1\xbe\xaf\xc7\xb5\xdel+\xed\x98{\x92\x91\xfd\x8b0\x0f\x9e\xf7\x85\xea\x91U;Yu\x03\x1c3\xe9\xe3\x90-)\x04\x1au\xd4}\xd4\xe3\xb9\xda\xd5\x05#\xde\xeaP\x86>\xe0\x15\xf5y\x1cBw\xa9\xca\xc9\xe5\xd3Y\xaeJ\xb9b\xf9\x94b\x90?\x80\x92@\x95\xff/S\xaa\x06\xb2\x89\x9c$\xfe\xfb\xf9\xcdnK~v\x14u\xb2\xc1K\xcd\x0f[k\xb34\xff\x01\x00\x00\xff\xffPK\x07\x08\xb3n\x0c\x7f\xdd\x00\x00\x00\xe1\x02\x00\x00PK\x01\x02\x14\x03\x14\x00\x08\x00\x08\x00\x88\x03\x86O\x9e\x12\xa9mU\x01\x00\x00n\x04\x00\x00 \x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\x81\x00\x00\x00\x00dark.jsonUT\x05\x00\x01\xa0\xa0\xe9]PK\x01\x02\x14\x03\x14\x00\x08\x00\x08\x00\x13x\x82O\xac\xc6\xad\xf0\xdf\x00\x00\x00|\x02\x00\x00\n\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\x81\x95\x01\x00\x00light.jsonUT\x05\x00\x01\x16'\xe5]PK\x01\x02\x14\x03\x14\x00\x08\x00\x08\x00@\x92\x86O\xb3n\x0c\x7f\xdd\x00\x00\x00\xe1\x02\x00\x00\n\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\x81\xb5\x02\x00\x00notty.jsonUT\x05\x00\x01Y\x9b\xea]PK\x05\x06\x00\x00\x00\x00\x03\x00\x03\x00\xc2\x00\x00\x00\xd3\x03\x00\x00\x00\x00"
|
||||
fs.Register(data)
|
||||
}
|
||||
|
||||
+6
-7
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"document": {
|
||||
"indent": 4,
|
||||
"prefix": "\n",
|
||||
"suffix": "\n"
|
||||
},
|
||||
@@ -14,28 +13,28 @@
|
||||
},
|
||||
"heading": {
|
||||
"prefix": "\n",
|
||||
"margin": 4
|
||||
"indent": 2
|
||||
},
|
||||
"h1": {
|
||||
"prefix": "\n=> ",
|
||||
"suffix": " <=",
|
||||
"margin": 2
|
||||
"indent": 0
|
||||
},
|
||||
"h2": {
|
||||
"prefix": "\n# "
|
||||
},
|
||||
"table": {
|
||||
"margin": 4
|
||||
"indent": 2
|
||||
},
|
||||
"paragraph": {
|
||||
"margin": 4
|
||||
"indent": 2
|
||||
},
|
||||
"code": {
|
||||
"prefix": "`",
|
||||
"suffix": "`"
|
||||
},
|
||||
"code_block": {
|
||||
"margin": 4
|
||||
"indent": 2
|
||||
},
|
||||
"emph": {
|
||||
"prefix": "*",
|
||||
@@ -46,7 +45,7 @@
|
||||
"suffix": "**"
|
||||
},
|
||||
"list": {
|
||||
"margin": 4
|
||||
"indent": 2
|
||||
},
|
||||
"item": {
|
||||
"prefix": "• "
|
||||
|
||||
Reference in New Issue
Block a user