diff --git a/src/components/StackedNote.vue b/src/components/StackedNote.vue index 043db60..2dfa45b 100644 --- a/src/components/StackedNote.vue +++ b/src/components/StackedNote.vue @@ -13,7 +13,11 @@ import { useFile } from "@/hooks/useFile.hook" import { useGitHubContent } from "@/hooks/useGitHubContent.hook" import { useImages } from "@/hooks/useImages.hook" import { useLinks } from "@/hooks/useLinks.hook" -import { renderCodeFile, runMermaid, useShikiji } from "@/hooks/useMarkdown.hook" +import { + renderCodeFile, + runMermaid, + useShikiji +} from "@/hooks/useMarkdown.hook" import { getFileLanguage, isMarkdownPath } from "@/utils/fileLanguage" import { useNoteOverlay } from "@/hooks/useNoteOverlay.hook" import { useRouteQueryStackedNotes } from "@/hooks/useRouteQueryStackedNotes.hook" @@ -54,7 +58,9 @@ const { getEditedSha } = useFile(sha) const initialRawContent = ref(null) -const isMarkdown = computed(() => (path.value ? isMarkdownPath(path.value) : true)) +const isMarkdown = computed(() => + path.value ? isMarkdownPath(path.value) : true +) const displayedContent = ref("") watch( @@ -237,7 +243,11 @@ watch(mode, async (newMode) => {
-
+
diff --git a/src/components/WelcomeWorld.vue b/src/components/WelcomeWorld.vue index 12e6bcd..0bded95 100644 --- a/src/components/WelcomeWorld.vue +++ b/src/components/WelcomeWorld.vue @@ -533,8 +533,8 @@ const showReviewCard = computed( means.

- Rule of thumb: write the title as the claim, and the body - as the argument. + Rule of thumb: write the title as the claim, and the body as + the argument.