Skip to content
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

Properly style Markdown tables #1136

Closed
Xyene opened this issue Oct 23, 2019 · 0 comments
Closed

Properly style Markdown tables #1136

Xyene opened this issue Oct 23, 2019 · 0 comments

Comments

@Xyene
Copy link
Member

Xyene commented Oct 23, 2019

The tables that Mistune generates do not have class="table" set, so are not styled correctly. The relevant code is https://github.com/lepture/mistune/blob/3da17f59a8333193a3cc0eca21b88909dd6d95c7/mistune/plugins/table.py#L128

And in our code, https://github.com/DMOJ/site/blob/f479d87f1626722ed231e85b1afae0b3ec7552c0/judge/jinja2/markdown/__init__.py#L37

Xyene added a commit that referenced this issue Oct 23, 2019
@Xyene Xyene closed this as completed in 019812f Oct 23, 2019
malbareda pushed a commit to malbareda/JOEL-web that referenced this issue Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant