prune: remove twitter embed

This commit is contained in:
Julien Calixte
2026-03-07 19:03:06 +01:00
parent 7ca922e0a6
commit 908641e54b
3 changed files with 0 additions and 57 deletions

View File

@@ -19,7 +19,6 @@ import { useTitleNotes } from "@/hooks/useTitleNotes.hook"
import { useUserRepoStore } from "@/modules/repo/store/userRepo.store"
import { encodeUTF8ToBase64 } from "@/utils/decodeBase64ToUTF8"
import { filenameToNoteTitle } from "@/utils/noteTitle"
import { generateTweets } from "@/utils/twitter"
import { runMermaid, useShikiji } from "@/hooks/useMarkdown.hook"
const LinkedNotes = defineAsyncComponent(
@@ -89,10 +88,6 @@ watch([content, mode], () => {
useImages(props.sha)
}
if (rawContent.value.includes("@[tweet]")) {
generateTweets()
}
if (rawContent.value.includes("```mermaid")) {
runMermaid(`.note-${sha.value} .mermaid`)
}