From 2f9e51b5cd7dfafadac90ec896edd365da12a1c8 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Sat, 3 Jul 2021 23:07:09 +0200 Subject: viewer: add markdown item handler Extracted from b170f49 (GH PR #304) --- viewer/src/views/GalleryNavigation.vue | 1 + 1 file changed, 1 insertion(+) (limited to 'viewer/src/views') diff --git a/viewer/src/views/GalleryNavigation.vue b/viewer/src/views/GalleryNavigation.vue index fdd3922..200637e 100644 --- a/viewer/src/views/GalleryNavigation.vue +++ b/viewer/src/views/GalleryNavigation.vue @@ -44,6 +44,7 @@ export default class GalleryNavigation extends Vue { directory: "ld-directory-viewer", picture: "ld-picture-viewer", plaintext: "ld-plain-text-viewer", + markdown: "ld-markdown-viewer", pdf: "ld-pdf-viewer", video: "ld-video-viewer", audio: "ld-audio-viewer", -- cgit v1.2.3 From 581029f1b15b51f90812a47b20bce454014da32a Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Tue, 12 Apr 2022 21:35:24 +0200 Subject: viewer: add markdown item handler Minor CSS fixes Comment for future upgrade to Vue3 --- viewer/src/views/SplashScreen.vue | 1 + 1 file changed, 1 insertion(+) (limited to 'viewer/src/views') diff --git a/viewer/src/views/SplashScreen.vue b/viewer/src/views/SplashScreen.vue index dcb845d..93d84a1 100644 --- a/viewer/src/views/SplashScreen.vue +++ b/viewer/src/views/SplashScreen.vue @@ -30,6 +30,7 @@ export default class SplashScreen extends Vue { this.fetchMarkdown(); } + // TODO: Identical to LdMarkdownViewer.vue, use composition with Vue3. fetchMarkdown() { FetchWithCheck.get(`${process.env.VUE_APP_DATA_URL}${this.config.resource}?${this.config.acknowledgmentKey ?? ""}`) .then(response => response.text()) -- cgit v1.2.3