Update CSS tab size and enable whitespace removal on paste

This commit is contained in:
2025-02-19 14:25:02 +00:00
parent ebb0a15cac
commit f82c35adbd
3 changed files with 26 additions and 13 deletions

View File

@@ -10,6 +10,16 @@
font-display: swap; font-display: swap;
} }
pre {
tab-size: 2; /* Set tab size to 2 spaces */
-moz-tab-size: 2; /* For Firefox */
}
code {
tab-size: 2; /* Set tab size for inline code */
-moz-tab-size: 2; /* For Firefox */
}
body { body {
font-family: "AdwaitaSans", sans-serif; font-family: "AdwaitaSans", sans-serif;
} }

View File

@@ -262,7 +262,7 @@
"enabled": false "enabled": false
}, },
"remove-leading-or-trailing-whitespace-on-paste": { "remove-leading-or-trailing-whitespace-on-paste": {
"enabled": false "enabled": true
}, },
"remove-leftover-footnotes-from-quote-on-paste": { "remove-leftover-footnotes-from-quote-on-paste": {
"enabled": false "enabled": false

View File

@@ -11,12 +11,14 @@
"id": "ab03f7100c1ce0fb", "id": "ab03f7100c1ce0fb",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "image", "type": "markdown",
"state": { "state": {
"file": "notes/ready/binary_operations/d1.png" "file": "notes/ready/flask.md",
"mode": "source",
"source": false
}, },
"icon": "lucide-image", "icon": "lucide-file",
"title": "d1" "title": "flask"
} }
} }
] ]
@@ -139,13 +141,13 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
"file": "notes/ready/binary_operations/d1.png", "file": "notes/ready/flask.md",
"followCursor": false, "followCursor": false,
"showSearch": false, "showSearch": false,
"searchQuery": "" "searchQuery": ""
}, },
"icon": "lucide-list", "icon": "lucide-list",
"title": "Outline of d1" "title": "Outline of flask"
} }
} }
], ],
@@ -167,15 +169,19 @@
"table-editor-obsidian:Advanced Tables Toolbar": false "table-editor-obsidian:Advanced Tables Toolbar": false
} }
}, },
"active": "b73f137a8a755c19", "active": "ab03f7100c1ce0fb",
"lastOpenFiles": [ "lastOpenFiles": [
"notes/ready/gdb.md",
"notes/ready/git.md",
"notes/ready/http.md",
"notes/ready/html.md",
"notes/ready/binary_operations/d1.png",
"notes/ready/binary_operations/index.md", "notes/ready/binary_operations/index.md",
"notes/ready/binary_operations/d6.png", "notes/ready/binary_operations/d6.png",
"notes/ready/binary_operations/d5.png", "notes/ready/binary_operations/d5.png",
"notes/ready/binary_operations/d4.png", "notes/ready/binary_operations/d4.png",
"notes/ready/binary_operations/d3.png", "notes/ready/binary_operations/d3.png",
"notes/ready/binary_operations/d2.png", "notes/ready/binary_operations/d2.png",
"notes/ready/binary_operations/d1.png",
"notes/ready/binary_operations/multiplication.png", "notes/ready/binary_operations/multiplication.png",
"TODO.md", "TODO.md",
"notes/ready/firewall.md", "notes/ready/firewall.md",
@@ -197,9 +203,6 @@
"ready/tmux/index.md", "ready/tmux/index.md",
"ready/transistors/index.md", "ready/transistors/index.md",
"ready/c-language.md", "ready/c-language.md",
"ready/c-snippets.md", "ready/c-snippets.md"
"ready/compiling.md",
"ready/diodes.md",
"ready/encryption.md"
] ]
} }