Flexible LHS and RHS with flex
This commit is contained in:
@@ -3,6 +3,8 @@ functions:
|
||||
path: "./markdown.ts:togglePreview"
|
||||
command:
|
||||
name: "Toggle Markdown Preview"
|
||||
key: Ctrl-p
|
||||
mac: Cmd-p
|
||||
preview:
|
||||
path: "./markdown.ts:updateMarkdownPreview"
|
||||
env: client
|
||||
|
||||
@@ -48,7 +48,7 @@ export async function updateMarkdownPreview() {
|
||||
}
|
||||
});
|
||||
let html = md.render(renderMarkdown(mdTree));
|
||||
await showRhs(`<html><body>${html}</body></html>`);
|
||||
await showRhs(`<html><body>${html}</body></html>`, 1);
|
||||
}
|
||||
|
||||
async function hideMarkdownPreview() {
|
||||
|
||||
Reference in New Issue
Block a user