From eeb234b290d11adbf697e621e695a6e1430b05f3 Mon Sep 17 00:00:00 2001 From: PipeItToDevNull Date: Thu, 15 Dec 2022 19:46:07 -0500 Subject: [PATCH 1/8] 2022-12-15 19:46:07 Changed: 0 Affected files: --- theme.css | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/theme.css b/theme.css index bfd85eb..1d615da 100644 --- a/theme.css +++ b/theme.css @@ -24,6 +24,18 @@ settings: description: Toggle the list count on a DV result type: class-toggle default: true + - + id: pln-embd-h1 + title: Hide H1 in embeds + description: Do not display H1 in embeds + type: class-toggle + default: true + - + id: pln-embd-h2 + title: Hide H2 in embeds + description: Do not display H2 in embeds + type: class-toggle + default: true - id: pln-embd-mods title: Embed modifications @@ -380,9 +392,12 @@ body.pln-embd-mods { } /* hide headers */ -.pln-embd-mods .markdown-embed-content>.markdown-rendered h1, -.pln-embd-mods .markdown-embed-content>.markdown-rendered h2, -.pln-embd-mods .markdown-embed-content>.markdown-rendered h3 { +.pln-embd-mods .pln-embd-h1 .markdown-embed-content>.markdown-rendered h1, +.pln-embd-mods .pln-embd-h2 .markdown-embed-content>.markdown-rendered h2, +.pln-embd-mods .pln-embd-h3 .markdown-embed-content>.markdown-rendered h3, +.pln-embd-mods .pln-embd-h4 .markdown-embed-content>.markdown-rendered h4, +.pln-embd-mods .pln-embd-h5 .markdown-embed-content>.markdown-rendered h5, +.pln-embd-mods .pln-embd-h6 .markdown-embed-content>.markdown-rendered h6 { display: none; } @@ -390,12 +405,11 @@ body.pln-embd-mods { visibility: hidden; } -/* this is to move embededlists over in 1.1 -.cm-embed-block ul.contains-task-list, /* dv and callouts -.inline-embed ul.contains-task-list /* embeds { +/* this is to move embededlists over in 1.1 */ +.cm-embed-block ul.contains-task-list, +.inline-embed ul.contains-task-list { padding: 0 0 0 0px; } -*/ /* fix embeded dv lists in the sidebar */ .workspace-leaf-content .markdown-embed .markdown-preview-view { From aba2e36844b630df416179fb73533bf441555647 Mon Sep 17 00:00:00 2001 From: PipeItToDevNull Date: Thu, 15 Dec 2022 19:55:10 -0500 Subject: [PATCH 2/8] add header options, and maybe finally fix embeds for 1.1 --- theme.css | 53 +++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 41 insertions(+), 12 deletions(-) diff --git a/theme.css b/theme.css index 1d615da..5727765 100644 --- a/theme.css +++ b/theme.css @@ -24,16 +24,40 @@ settings: description: Toggle the list count on a DV result type: class-toggle default: true - - + - id: pln-embd-h1 title: Hide H1 in embeds - description: Do not display H1 in embeds + description: Do not display h1 in embeds type: class-toggle default: true - - + - id: pln-embd-h2 title: Hide H2 in embeds - description: Do not display H2 in embeds + description: Do not display h2 in embeds + type: class-toggle + default: true + - + id: pln-embd-h3 + title: Hide H3 in embeds + description: Do not display h3 in embeds + type: class-toggle + default: true + - + id: pln-embd-h4 + title: Hide H4 in embeds + description: Do not display h4 in embeds + type: class-toggle + default: true + - + id: pln-embd-h5 + title: Hide H5 in embeds + description: Do not display h5 in embeds + type: class-toggle + default: true + - + id: pln-embd-h6 + title: Hide H6 in embeds + description: Do not display h6 in embeds type: class-toggle default: true - @@ -392,12 +416,12 @@ body.pln-embd-mods { } /* hide headers */ -.pln-embd-mods .pln-embd-h1 .markdown-embed-content>.markdown-rendered h1, -.pln-embd-mods .pln-embd-h2 .markdown-embed-content>.markdown-rendered h2, -.pln-embd-mods .pln-embd-h3 .markdown-embed-content>.markdown-rendered h3, -.pln-embd-mods .pln-embd-h4 .markdown-embed-content>.markdown-rendered h4, -.pln-embd-mods .pln-embd-h5 .markdown-embed-content>.markdown-rendered h5, -.pln-embd-mods .pln-embd-h6 .markdown-embed-content>.markdown-rendered h6 { +.pln-embd-mods.pln-embd-h1 .markdown-embed-content>.markdown-rendered h1, +.pln-embd-mods.pln-embd-h2 .markdown-embed-content>.markdown-rendered h2, +.pln-embd-mods.pln-embd-h3 .markdown-embed-content>.markdown-rendered h3, +.pln-embd-mods.pln-embd-h4 .markdown-embed-content>.markdown-rendered h4, +.pln-embd-mods.pln-embd-h5 .markdown-embed-content>.markdown-rendered h5, +.pln-embd-mods.pln-embd-h6 .markdown-embed-content>.markdown-rendered h6 { display: none; } @@ -406,10 +430,15 @@ body.pln-embd-mods { } /* this is to move embededlists over in 1.1 */ -.cm-embed-block ul.contains-task-list, -.inline-embed ul.contains-task-list { +.pln-embd-mods .cm-embed-block ul.contains-task-list, +.pln-embd-mods .inline-embed ul.contains-task-list { padding: 0 0 0 0px; } +/* another stupid 1.1 fix the above +breaks embeds in reading mode */ +.pln-embd-mods .markdown-reading-view .inline-embed ul.contains-task-list { + padding: 0 0 0 20px +} /* fix embeded dv lists in the sidebar */ .workspace-leaf-content .markdown-embed .markdown-preview-view { From 35d67fc641695705c3f26c359ae6d3bf34646134 Mon Sep 17 00:00:00 2001 From: PipeItToDevNull Date: Fri, 16 Dec 2022 07:49:17 -0500 Subject: [PATCH 3/8] change h4-6 false --- theme.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/theme.css b/theme.css index 5727765..aeaf6f6 100644 --- a/theme.css +++ b/theme.css @@ -47,19 +47,19 @@ settings: title: Hide H4 in embeds description: Do not display h4 in embeds type: class-toggle - default: true + default: false - id: pln-embd-h5 title: Hide H5 in embeds description: Do not display h5 in embeds type: class-toggle - default: true + default: false - id: pln-embd-h6 title: Hide H6 in embeds description: Do not display h6 in embeds type: class-toggle - default: true + default: false - id: pln-embd-mods title: Embed modifications From c04b709c776f5d295594c4764226c81831b4cb2a Mon Sep 17 00:00:00 2001 From: PipeItToDevNull Date: Fri, 16 Dec 2022 09:32:42 -0500 Subject: [PATCH 4/8] add headers to style settings --- theme.css | 40 +++++++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/theme.css b/theme.css index aeaf6f6..e8b9f9f 100644 --- a/theme.css +++ b/theme.css @@ -12,6 +12,18 @@ settings: description: Underline only external links and remove the distinction from unresolved links. type: class-toggle default: true + - + id: pln-hi-line + title: Highlight active line + description: Highlight the active line + type: class-toggle + default: true + - + id: pln-head-dv + title: Dataview modifications + type: heading + level: 2 + collapsed: true - id: pln-dv-mods title: Dataview modifications @@ -24,6 +36,18 @@ settings: description: Toggle the list count on a DV result type: class-toggle default: true + - + id: pln-head-embd + title: Embed modifications + type: heading + level: 2 + collapsed: true + - + id: pln-embd-mods + title: Embed modifications + description: Globally toggle my various embed modifications + type: class-toggle + default: true - id: pln-embd-h1 title: Hide H1 in embeds @@ -61,17 +85,11 @@ settings: type: class-toggle default: false - - id: pln-embd-mods - title: Embed modifications - description: Globally toggle my various embed modifications - type: class-toggle - default: true - - - id: pln-hi-line - title: Highlight active line - description: Highlight the active line - type: class-toggle - default: true + id: pln-head-rm + title: Removals + type: heading + level: 2 + collapsed: true - id: pln-rm-ribbon title: Remove ribbon From 0018290fad1d220b90d05b4f18151044705bb019 Mon Sep 17 00:00:00 2001 From: PipeItToDevNull Date: Tue, 20 Dec 2022 08:29:53 -0500 Subject: [PATCH 5/8] add meta callout --- theme.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/theme.css b/theme.css index e8b9f9f..ec7accd 100644 --- a/theme.css +++ b/theme.css @@ -638,6 +638,9 @@ div.HyperMD-quote.HyperMD-quote-1.cm-line { .callout[data-callout="links"] { --callout-icon: link; } +.callout[data-callout="meta"] { + --callout-icon: database; +} /* colours */ .callout[data-callout="note"] { @@ -698,12 +701,14 @@ div.HyperMD-quote.HyperMD-quote-1.cm-line { .theme-dark .callout[data-callout="cite"], .theme-dark .callout[data-callout="quote"], -.theme-dark .callout[data-callout="links"] { +.theme-dark .callout[data-callout="links"], +.theme-dark .callout[data-callout="meta"] { --callout-color: 216, 222, 233; } .theme-light .callout[data-callout="cite"], .theme-light .callout[data-callout="quote"], -.theme-light .callout[data-callout="links"] { +.theme-light .callout[data-callout="links"], +.theme-light .callout[data-callout="meta"] { --callout-color: 76, 86, 106; } From 870a3d92c7466ce3e9ffb50d68000830c0cac7c0 Mon Sep 17 00:00:00 2001 From: PipeItToDevNull Date: Tue, 20 Dec 2022 08:36:51 -0500 Subject: [PATCH 6/8] change visibility of embed to display none --- theme.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme.css b/theme.css index ec7accd..18b8308 100644 --- a/theme.css +++ b/theme.css @@ -444,7 +444,7 @@ body.pln-embd-mods { } .pln-embd-mods .markdown-embed-link { - visibility: hidden; + display: none; } /* this is to move embededlists over in 1.1 */ From 26916f4d9a81edd6b6d510e21b14fcd9059726a6 Mon Sep 17 00:00:00 2001 From: PipeItToDevNull Date: Tue, 20 Dec 2022 09:17:28 -0500 Subject: [PATCH 7/8] add removal of mod top left --- theme.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/theme.css b/theme.css index 18b8308..7e7ae9b 100644 --- a/theme.css +++ b/theme.css @@ -102,6 +102,12 @@ settings: description: Remove the sidebar indicators. They can still be opened with hotkeys. type: class-toggle default: true + - + id: pln-rm-lside-tl + title: Remove mod top left + description: Remove the top tab container in the left sidebar. + type: class-toggle + default: false - id: pln-rm-status title: Remove statusbar @@ -362,7 +368,9 @@ body { /* action bottons, top right of note */ .pln-rm-act .view-actions, /* note icon for tabs */ -.pln-rm-noteic .workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner-icon { +.pln-rm-noteic .workspace .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner-icon, +/* remove top left sidebar container */ +.pln-rm-lside-tl .mod-top-left-space .workspace-tab-header-container { display: none; } From bd5cd73368b644105fc6898b35630f2be5010a95 Mon Sep 17 00:00:00 2001 From: PipeItToDevNull Date: Tue, 20 Dec 2022 10:23:55 -0500 Subject: [PATCH 8/8] bump version --- manifest.json | 4 ++-- versions.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index e1ae8c5..cffb082 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "PLN", - "version": "1.0.0", - "minAppVersion": "1.0.0", + "version": "1.1.0", + "minAppVersion": "1.1.0", "author": "PipeItToDevNull", "authorUrl": "https://blog.dev0.sh" } diff --git a/versions.json b/versions.json index 7e9aef5..d9f3d3f 100644 --- a/versions.json +++ b/versions.json @@ -1,3 +1,4 @@ { - "1.0.0": "1.0.0" + "1.0.0": "1.0.0", + "1.1.0": "1.1.0" }