Refactoring

This commit is contained in:
Zef Hemel
2023-08-20 17:51:00 +02:00
parent 75bdd6390b
commit a94724768e
34 changed files with 226 additions and 47 deletions
+1 -1
View File
@@ -1,5 +1,4 @@
import { EditorView, syntaxTree, ViewPlugin, ViewUpdate } from "../deps.ts";
import { maximumAttachmentSize } from "../../common/types.ts";
import { Client } from "../client.ts";
// We use turndown to convert HTML to Markdown
@@ -18,6 +17,7 @@ import {
nodeAtPos,
} from "../../plug-api/lib/tree.ts";
import { folderName, resolve } from "../../common/path.ts";
import { maximumAttachmentSize } from "../constants.ts";
const turndownService = new TurndownService({
hr: "---",