Asset fixes
This commit is contained in:
@@ -2,7 +2,7 @@ name: markdown
|
||||
imports:
|
||||
- https://get.silverbullet.md/global.plug.json
|
||||
assets:
|
||||
- styles.css
|
||||
- "*.css"
|
||||
functions:
|
||||
toggle:
|
||||
path: "./markdown.ts:togglePreview"
|
||||
|
||||
@@ -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,4 +1,3 @@
|
||||
<style>
|
||||
body {
|
||||
font-family: georgia,times,serif;
|
||||
font-size: 14pt;
|
||||
|
||||
Reference in New Issue
Block a user