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

table: caption #34

Merged
merged 1 commit into from
Oct 16, 2023
Merged

table: caption #34

merged 1 commit into from
Oct 16, 2023

Conversation

am-kantox
Copy link
Owner

Basically, it allows <caption> to be added to tables in the following way:

| # Table Caption |
| Head 1 | Head 2 |
| ------ | ------ |
| Cell 1 | Cell 2 | 
| Cell 3 | Cell 4 | 

It’s fully backward compatible and the caption would be recognized if it only goes as the first line in the table and starts with a hash symbol.

Inspired by https://mastodon.social/@tennoseremel@lor.sh/111205655838773599

This also resulted in the PR to redcarpet: vmg/redcarpet#781

@am-kantox am-kantox merged commit f1b257f into master Oct 16, 2023
4 checks passed
@am-kantox am-kantox deleted the table-caption branch October 16, 2023 10:42
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

1 participant