(note) init image display

This commit is contained in:
2021-03-22 22:27:11 +01:00
parent cb5ff68866
commit d4391bb8c6
7 changed files with 106 additions and 28 deletions

View File

@@ -9,7 +9,9 @@ export const useFolderNotes = (
const { tree } = useRepo(owner, repo)
const fleetingNotes = computed(() =>
tree.value.filter((file) => file.path?.startsWith(folder))
tree.value.filter(
(file) => file.path?.startsWith(folder) && file.path?.endsWith('.md')
)
)
const content = computed(() =>