-
Notifications
You must be signed in to change notification settings - Fork 162
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
Narrative tables (md or html) need styling #887
Comments
To reproduce / work on a fix:
|
I was able to get tables in the |
@jameshadfield Tables in the sidebar also work (This was working before #924). For example:
|
I would be happy to work on styling tables. |
Closed by #966 -- thanks @joachimschmidt557 🎉 |
(Moved out of #883 for clarity)
@emmahodcroft:
I currently can't seem to get tables (either Markdown or HTML) working in the auspiceMainDisplayMarkdown part working. This might be nice for formatting lists of links with images, for example. Or lists of previous situation reports (or other languages)
@jameshadfield:
I presume HTML tables don't work because of https://github.com/nextstrain/auspice/blob/master/src/components/narrative/MainDisplayMarkdown.js#L136 (this code was copied from the footer markdown parsing). If markdown tables don't work then there may be an option we can add to https://github.com/nextstrain/auspice/blob/master/cli/server/parseNarrative.js#L13 to improve this.
UPDATE: Thanks to @CameronDevine (#924) tables now display in
auspiceMainDisplayMarkdown
sections. These things are still needed:auspiceMainDisplayMarkdown
sections need to be styled appropriatelyThe text was updated successfully, but these errors were encountered: