-
Notifications
You must be signed in to change notification settings - Fork 19
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
Tables in Markdown previewer #71
Comments
Hmm, tables are non-standard in Markdown so I'm not super surprised they don't "just work". @philippconzett which table syntax are you using? @ErykKul added the Markdown previewer in #23 and might know offhand if tables are supported. |
Ah, thanks, @pdurbin, I didn't know. If I remember correctly, I the file I previewed had a table like this:
|
Markdown is a markup language of fairly limited design (intended by creator Daring Fireball's Gruber). We're used to using markdowns, extended versions such as Github's flavor, which have implemented quite a few functions. The dataverse previewer seems to use a standard implementation. |
After merging to master all previewers are auto-updated, e.g.: git cherry-pick 86ddd14b2b4393f5ff053e68a43fab811740d817 8ca549dd9ea1147438692ac6866a9013a3419381 |
@ErykKul seems like a good fix to me! @philippconzett @gwendoux what do you think? |
Looks good to me. Thanks for fixing this! |
It's good enough👍. A simple tweak on the css part could fix the "looks good" later ;) |
@ErykKul Here is a good source for replicating GitHub Markdown style https://github.com/sindresorhus/github-markdown-css |
I've been testing file previewers v1.4 in our Dataverse test environment (v6.2). When opening a Markdown file (.md) in the Markdown previewer, tables are not displayed as tables but as plain text. The tables look fine in Markdown editors, e.g., https://stackedit.io/app#. Maybe there is a bug in the previewer? Thanks for considering this input!
The text was updated successfully, but these errors were encountered: