Asset fixes

This commit is contained in:
Zef Hemel
2022-10-14 15:53:51 +02:00
parent 7d28b53b75
commit 3a3210ecac
6 changed files with 27 additions and 15 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ name: markdown
imports:
- https://get.silverbullet.md/global.plug.json
assets:
- styles.css
- "*.css"
functions:
toggle:
path: "./markdown.ts:togglePreview"
+1 -2
View File
@@ -13,6 +13,5 @@ export async function togglePreview() {
async function hideMarkdownPreview() {
const setting = await readSettings({ previewOnRHS: true });
const hide = setting.previewOnRHS ? editor.hideRhs : editor.hideLhs;
await hide();
await editor.hidePanel(setting.previewOnRHS ? "rhs" : "lhs");
}
-1
View File
@@ -1,4 +1,3 @@
<style>
body {
font-family: georgia,times,serif;
font-size: 14pt;