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

GFM Tables don't seem to tokenize column alignment #145

Open
boswelja opened this issue Feb 5, 2024 · 0 comments
Open

GFM Tables don't seem to tokenize column alignment #145

boswelja opened this issue Feb 5, 2024 · 0 comments

Comments

@boswelja
Copy link

boswelja commented Feb 5, 2024

GitHub-flavored Markdown adds support for tables, which support setting column alignment. However, I don't see anything that the parser gives us to handle different alignments. For example, the following table with alignments

| foo | bar | baz |
| :--- | ---: | :---: |

Gives us the same ASTNode tree as the following table with no alignments

| foo | bar | baz |
| --- | --- | --- |

See https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables#formatting-content-within-your-table for alignment information.

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

No branches or pull requests

1 participant