From 2933de4bacc18dc0b6ad100067017f3ffa1e4b4e Mon Sep 17 00:00:00 2001 From: Maxime Cannoodt Date: Wed, 29 Jun 2022 14:32:48 +0200 Subject: [PATCH] remove console logs --- plugin/src/NoteSharingService.ts | 1 - webapp/src/lib/marked/extensions.ts | 1 - webapp/src/lib/marked/renderers/List.svelte | 1 - 3 files changed, 3 deletions(-) diff --git a/plugin/src/NoteSharingService.ts b/plugin/src/NoteSharingService.ts index f371c74..46e4c75 100644 --- a/plugin/src/NoteSharingService.ts +++ b/plugin/src/NoteSharingService.ts @@ -22,7 +22,6 @@ export class NoteSharingService { mdText = this.sanitizeNote(mdText); const cryptData = encryptMarkdown(mdText); const res = await this.postNote(cryptData.ciphertext, cryptData.hmac); - console.log(res); res.view_url += `#${cryptData.key}`; console.log(`Note shared: ${res.view_url}`); return res; diff --git a/webapp/src/lib/marked/extensions.ts b/webapp/src/lib/marked/extensions.ts index bb27d04..883877f 100644 --- a/webapp/src/lib/marked/extensions.ts +++ b/webapp/src/lib/marked/extensions.ts @@ -59,7 +59,6 @@ const HighlightExtension = { name: 'highlight', level: 'inline', start(src: string) { - // console.log(src); return src.match(/==/)?.index; }, tokenizer(src: string) { diff --git a/webapp/src/lib/marked/renderers/List.svelte b/webapp/src/lib/marked/renderers/List.svelte index 60e9233..2a395e1 100644 --- a/webapp/src/lib/marked/renderers/List.svelte +++ b/webapp/src/lib/marked/renderers/List.svelte @@ -3,7 +3,6 @@ export let start: number; export let items: any; - console.log(items);