Skip to content

Add support for alignments in Markdown tables #261

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

Closed

Conversation

kdeldycke
Copy link
Contributor

@kdeldycke kdeldycke commented Apr 4, 2023

This PR adds supports for column alignments for GitHub-Flavored Markdown (i.e. the github table format). This has been requested on issue #53 and reuse the same code as the pipe format.

Additionally, this PR allows the elements used to produce the alignments segments to be configured by the way of the begin=, hline=, sep= and end= parameters. This will help support of other formats in the future.

And finally, this PR tweak the github format to introduce a space separation between the pipes separating the cells of the table. This is to conform to the GitHub Flavored Markdown Spec.

This closes #53 and also supersedes #260.

@kdeldycke kdeldycke force-pushed the markdown-table-alignments branch from 507264e to f4df50c Compare April 4, 2023 14:48
@kdeldycke
Copy link
Contributor Author

All tests are passing and successful. This PR is ready to be merged upstream.

@astanin
Copy link
Owner

astanin commented Sep 27, 2024

This feature is covered by pull request #341 (merged).

@astanin astanin closed this Sep 27, 2024
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.

left, right, and center-aligned Markdown tables
2 participants