File tree Expand file tree Collapse file tree 8 files changed +56
-38
lines changed Expand file tree Collapse file tree 8 files changed +56
-38
lines changed Original file line number Diff line number Diff line change
1
+ repos :
2
+ - repo : https://github.com/pre-commit/pre-commit-hooks
3
+ rev : v4.3.0
4
+ hooks :
5
+ - id : check-added-large-files
6
+ - id : check-case-conflict
7
+ - id : check-merge-conflict
8
+ - id : detect-private-key
9
+ - id : end-of-file-fixer
10
+ exclude : ' .*\.ipynb'
11
+ - id : trailing-whitespace
12
+ - repo : https://github.com/codespell-project/codespell
13
+ rev : " v2.2.1"
14
+ hooks :
15
+ - id : codespell
16
+ args : ["-I", "codespell.txt"]
17
+ - repo : https://github.com/pre-commit/mirrors-prettier
18
+ rev : " v3.0.0-alpha.2"
19
+ hooks :
20
+ - id : prettier
21
+
22
+ ci :
23
+ autoupdate_schedule : monthly
Original file line number Diff line number Diff line change @@ -6,15 +6,14 @@ on top of the file.
6
6
7
7
## Overview of the snippets
8
8
9
- * Display internal links in all caps. This was
9
+ - Display internal links in all caps. This was
10
10
originally a design feature by the [ Sanctum] [ sanctum ] theme, but got dropped in
11
11
newer releases
12
- * Make embeds blend into notes
13
- * Disable strikethrough for ticked checkboxes
14
- * Highlight bold darkmode: Bold text in dark mode doesn't stand out very much, so
12
+ - Make embeds blend into notes
13
+ - Disable strikethrough for ticked checkboxes
14
+ - Highlight bold darkmode: Bold text in dark mode doesn't stand out very much, so
15
15
this snippets makes it underlined and all-caps.
16
- * Justify all text in obsidian
17
-
16
+ - Justify all text in obsidian
18
17
19
18
[ obsidian ] : https://obsidian.md/
20
19
[ sanctum ] : https://github.com/jdanielmourao/obsidian-sanctum/
Original file line number Diff line number Diff line change 1
1
.cm-s-obsidian span .cm-hmd-internal-link ,
2
2
.markdown-preview-view .internal-link {
3
- text-decoration : none;
4
- font-weight : 550 ;
5
- text-transform : uppercase;
6
- font-size : .9em ;
7
- letter-spacing : .125em ;
8
- border-radius : 4px ;
3
+ text-decoration : none;
4
+ font-weight : 550 ;
5
+ text-transform : uppercase;
6
+ font-size : 0 .9em ;
7
+ letter-spacing : 0 .125em ;
8
+ border-radius : 4px ;
9
9
}
Original file line number Diff line number Diff line change 80
80
81
81
/* End link show/hide stuff */
82
82
83
-
84
-
85
83
/* remove border and scroll */
86
84
/* unfortunately needs !important for some themes */
87
85
.markdown-preview-view .markdown-embed ,
92
90
}
93
91
94
92
.markdown-preview-view .markdown-embed-content ,
95
- .markdown-preview-view .markdown-embed-content > .markdown-preview-view {
93
+ .markdown-preview-view .markdown-embed-content > .markdown-preview-view {
96
94
max-height : unset;
97
95
padding : 0 !important ; /* !important for "Pisum" theme */
98
96
margin : 0 ;
104
102
display : none;
105
103
}
106
104
107
-
108
105
/* remove vertical space added by markdown-preview-sizer */
109
- div .markdown-preview-sizer .markdown-preview-section {
106
+ div .markdown-preview-sizer .markdown-preview-section {
110
107
min-height : unset !important ;
111
108
padding-bottom : 0 !important ;
112
109
}
113
110
114
111
/* special considerations for printing (PDF export) */
115
112
@media print {
116
-
117
113
/* remove frontmatter box if "Show frontmatter" was enabled */
118
114
/* Also remove metadata table from "Metatable" plugin */
119
115
pre .frontmatter ,
Original file line number Diff line number Diff line change 1
1
/* From this thread: https://forum.obsidian.md/t/how-to-remove-strikethrough-for-checkboxes/5753/16 */
2
2
3
3
.markdown-preview-view ul > li .task-list-item .is-checked {
4
- text-decoration : none;
5
- color : var (--text-normal );
4
+ text-decoration : none;
5
+ color : var (--text-normal );
6
6
}
7
7
8
8
.markdown-preview-view ol > li .task-list-item .is-checked {
9
- text-decoration : none;
10
- color : var (--text-normal );
9
+ text-decoration : none;
10
+ color : var (--text-normal );
11
11
}
12
12
13
- .markdown-source-view .mod-cm6 .HyperMD-task-line [data-task ]: not ([data-task = " " ]) {
14
- text-decoration : none;
15
- color : var (--text-normal );
13
+ .markdown-source-view .mod-cm6
14
+ .HyperMD-task-line [data-task ]: not ([data-task = " " ]) {
15
+ text-decoration : none;
16
+ color : var (--text-normal );
16
17
}
Original file line number Diff line number Diff line change 1
- .theme-dark .cm-strong , .theme-dark strong {
2
- font-weight : 550 ;
3
- text-transform : uppercase;
4
- font-size : .9em ;
5
- letter-spacing : .125em ;
6
- border-radius : 4px ;
7
- text-decoration : underline;
1
+ .theme-dark .cm-strong ,
2
+ .theme-dark strong {
3
+ font-weight : 550 ;
4
+ text-transform : uppercase;
5
+ font-size : 0.9em ;
6
+ letter-spacing : 0.125em ;
7
+ border-radius : 4px ;
8
+ text-decoration : underline;
8
9
}
9
-
10
-
Original file line number Diff line number Diff line change 1
1
/* reading mode */
2
2
.markdown-preview-view p {
3
- text-align : justify;
4
- text-justify : inter-word;
3
+ text-align : justify;
4
+ text-justify : inter-word;
5
5
}
6
6
7
7
/* source view and live preview */
8
8
.markdown-source-view .mod-cm6 .cm-line {
9
- text-align : justify;
10
- text-justify : inter-word;
9
+ text-align : justify;
10
+ text-justify : inter-word;
11
11
}
You can’t perform that action at this time.
0 commit comments