Make stuff work with npm
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { hideRhs } from "@plugos/plugos-silverbullet-syscall/editor";
|
||||
import { invokeFunction } from "@plugos/plugos-silverbullet-syscall/system";
|
||||
import * as clientStore from "@plugos/plugos-silverbullet-syscall/clientStore";
|
||||
import { hideRhs } from "@silverbulletmd/plugos-silverbullet-syscall/editor";
|
||||
import { invokeFunction } from "@silverbulletmd/plugos-silverbullet-syscall/system";
|
||||
import * as clientStore from "@silverbulletmd/plugos-silverbullet-syscall/clientStore";
|
||||
|
||||
export async function togglePreview() {
|
||||
let currentValue = !!(await clientStore.get("enableMarkdownPreview"));
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import MarkdownIt from "markdown-it";
|
||||
import { getText, showRhs } from "@plugos/plugos-silverbullet-syscall/editor";
|
||||
import * as clientStore from "@plugos/plugos-silverbullet-syscall/clientStore";
|
||||
import {
|
||||
getText,
|
||||
showRhs,
|
||||
} from "@silverbulletmd/plugos-silverbullet-syscall/editor";
|
||||
import * as clientStore from "@silverbulletmd/plugos-silverbullet-syscall/clientStore";
|
||||
import { cleanMarkdown } from "./util";
|
||||
|
||||
const css = `
|
||||
|
||||
@@ -3,7 +3,7 @@ import {
|
||||
renderToText,
|
||||
replaceNodesMatching,
|
||||
} from "@silverbulletmd/common/tree";
|
||||
import { parseMarkdown } from "@plugos/plugos-silverbullet-syscall/markdown";
|
||||
import { parseMarkdown } from "@silverbulletmd/plugos-silverbullet-syscall/markdown";
|
||||
|
||||
export function encodePageUrl(name: string): string {
|
||||
return name.replaceAll(" ", "_");
|
||||
|
||||
Reference in New Issue
Block a user