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

Support MyST table column alignment #531

Merged
merged 2 commits into from Sep 25, 2022
Merged

Conversation

chrisjsewell
Copy link
Contributor

With Markdown tables, one can control column alignment:

| left | center | right |
| :--- | :----: | ----: |
| a    | b      | c     |

To enable this non-standard (in docutils) feature, MyST-Parser adds CSS classes to the td/th, which then require implementation by the HTML themes.

chrisjsewell and others added 2 commits September 24, 2022 23:23
With Markdown tables, one can control column alignment:

```markdown
| left | center | right |
| :--- | :----: | ----: |
| a    | b      | c     |
```

To enable this non-standard (in docutils) feature, MyST-Parser adds CSS classes to the `td`/`th`,
which then require implementation by the HTML themes.
@pradyunsg pradyunsg merged commit 9af2e44 into pradyunsg:main Sep 25, 2022
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.

None yet

2 participants