-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Dataverse Previewers support more media types #64
Comments
Do you want the markdown rendered or just displayed as text? The latter
should be trivial
…Sent from my phone
On Thu, Nov 4, 2021, 04:09 Philipp Conzett ***@***.***> wrote:
As a potential dataset downloader, I'd like to be able to preview more
media types, in particular the following ones:
image/tiff
audio/flac
text/markdown
text/semicolon-separated-values
Note on text/semicolon-separated-values:
When testing in the Harvard Demo Dataverse, semicolon-separated .csv files
are not ingested and previewed. Semicolon-separated .txt files are not
ingested, but previewed as plain text files. See this test dataset:
https://demo.dataverse.org/dataset.xhtml?persistentId=doi:10.70122/FK2/H0U0FQ
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#64>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA7PWX7FQUCB7K4XCMUGNTUKI5UJANCNFSM5HK2KAOA>
.
|
Yes, that would be good. If it at a later stage will be possible to be displayed as Markdown, that would be even better :) |
For Markdown, perhaps something like marked could be used for rendering? |
I did a quick test, and Markdown files should work as-is in the text previewer (but are not rendered), e.g.: |
It would be cool so have some sort of toggle to switch between raw text and rendered HTML but this is a great start! |
As a potential dataset downloader, I'd like to be able to preview more media types, in particular the following ones:
image/tiff
audio/flac
text/markdown
text/semicolon-separated-values
Note on text/semicolon-separated-values:
When testing in the Harvard Demo Dataverse, semicolon-separated .csv files are not ingested and previewed. Semicolon-separated .txt files are not ingested, but previewed as plain text files. See this test dataset:
https://demo.dataverse.org/dataset.xhtml?persistentId=doi:10.70122/FK2/H0U0FQ
The text was updated successfully, but these errors were encountered: