diff options
author | pacien | 2022-04-12 22:29:29 +0200 |
---|---|---|
committer | GitHub | 2022-04-12 22:29:29 +0200 |
commit | 87f2f631aec9ffbb794b5475a16353e873dbb2b7 (patch) | |
tree | 7bd0c65e680202b8c48ed9d875b9d0c45223b9e2 /compiler/src/Resource.hs | |
parent | a6b4a520f16092f38d8d97d5d746aa6777b8ced5 (diff) | |
parent | 581029f1b15b51f90812a47b20bce454014da32a (diff) | |
download | ldgallery-87f2f631aec9ffbb794b5475a16353e873dbb2b7.tar.gz |
Merge pull request #307 from ldgallery/pacien-20210704-markdown-item-handler
viewer: markdown item handler
Diffstat (limited to 'compiler/src/Resource.hs')
-rw-r--r-- | compiler/src/Resource.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/src/Resource.hs b/compiler/src/Resource.hs index f59eed6..804c9a1 100644 --- a/compiler/src/Resource.hs +++ b/compiler/src/Resource.hs | |||
@@ -1,7 +1,7 @@ | |||
1 | -- ldgallery - A static generator which turns a collection of tagged | 1 | -- ldgallery - A static generator which turns a collection of tagged |
2 | -- pictures into a searchable web gallery. | 2 | -- pictures into a searchable web gallery. |
3 | -- | 3 | -- |
4 | -- Copyright (C) 2019-2020 Pacien TRAN-GIRARD | 4 | -- Copyright (C) 2019-2021 Pacien TRAN-GIRARD |
5 | -- | 5 | -- |
6 | -- This program is free software: you can redistribute it and/or modify | 6 | -- This program is free software: you can redistribute it and/or modify |
7 | -- it under the terms of the GNU Affero General Public License as | 7 | -- it under the terms of the GNU Affero General Public License as |
@@ -90,6 +90,7 @@ data GalleryItemProps = | |||
90 | { resource :: Resource | 90 | { resource :: Resource |
91 | , resolution :: Resolution } | 91 | , resolution :: Resolution } |
92 | | PlainText { resource :: Resource } | 92 | | PlainText { resource :: Resource } |
93 | | Markdown { resource :: Resource } | ||
93 | | PDF { resource :: Resource } | 94 | | PDF { resource :: Resource } |
94 | | Video { resource :: Resource } | 95 | | Video { resource :: Resource } |
95 | | Audio { resource :: Resource } | 96 | | Audio { resource :: Resource } |