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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃憣 IMPROVE: Table rendering #450

Merged
merged 1 commit into from
Dec 4, 2021
Merged

馃憣 IMPROVE: Table rendering #450

merged 1 commit into from
Dec 4, 2021

Conversation

chrisjsewell
Copy link
Member

@chrisjsewell chrisjsewell commented Dec 4, 2021

Change cell alignment classes to text-left, text-center, or text-right,
and allow tables with no body.

closes #412, closes #430

Change cell alignment classes to `text-left`, `text-center`, or `text-right`,
and allow tables with no body.
@codecov
Copy link

codecov bot commented Dec 4, 2021

Codecov Report

Merging #450 (86cfafc) into master (8da63ad) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #450   +/-   ##
=======================================
  Coverage   90.78%   90.79%           
=======================================
  Files          16       16           
  Lines        1878     1880    +2     
=======================================
+ Hits         1705     1707    +2     
  Misses        173      173           
Flag Coverage 螖
pytests 90.79% <100.00%> (+<0.01%) 猬嗭笍

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage 螖
myst_parser/docutils_renderer.py 92.81% <100.00%> (+0.02%) 猬嗭笍

Continue to review full report at Codecov.

Legend - Click here to learn more
螖 = absolute <relative> (impact), 酶 = not affected, ? = missing data
Powered by Codecov. Last update 8da63ad...86cfafc. Read the comment docs.

@chrisjsewell chrisjsewell merged commit 4c8aebe into master Dec 4, 2021
@chrisjsewell chrisjsewell deleted the improve-table branch December 4, 2021 12:12
Carreau pushed a commit to pydata/pydata-sphinx-theme that referenced this pull request May 27, 2024
This PR makes a few changes to the _tables.scss file:

- Matches our table alignment classes with an [update to MyST from 2021](executablebooks/MyST-Parser#450) (version [0.16.0](https://github.com/executablebooks/MyST-Parser/releases/tag/v0.16.0))
- Removes the redundant and useless `display: table` and `overflow: auto` rules
- Updates a comment

Fixes #1804.
ivanov pushed a commit to ivanov/pydata-sphinx-theme that referenced this pull request Jun 5, 2024
This PR makes a few changes to the _tables.scss file:

- Matches our table alignment classes with an [update to MyST from 2021](executablebooks/MyST-Parser#450) (version [0.16.0](https://github.com/executablebooks/MyST-Parser/releases/tag/v0.16.0))
- Removes the redundant and useless `display: table` and `overflow: auto` rules
- Updates a comment

Fixes pydata#1804.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow for parsing table with only header (no body) Markdown table alignment ignored
1 participant