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

Add markdown table formatting #118

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

marcelbuesing
Copy link

Allows printing tables as markdown tables:

| Title 1     | Title 2    |
|-------------|------------|
| Value 1     | Value 2    |
| Value three | Value four |
Title 1 Title 2
Value 1 Value 2
Value three Value four

@codecov
Copy link

codecov bot commented Oct 10, 2019

Codecov Report

Merging #118 (b5711df) into master (6bb234c) will increase coverage by 0.17%.
The diff coverage is 93.33%.

❗ Current head b5711df differs from pull request most recent head 7c50d8d. Consider uploading reports for the commit 7c50d8d to get more accurate results

@@            Coverage Diff             @@
##           master     #118      +/-   ##
==========================================
+ Coverage   85.86%   86.04%   +0.17%     
==========================================
  Files           5        5              
  Lines        1323     1340      +17     
==========================================
+ Hits         1136     1153      +17     
  Misses        187      187              
Impacted Files Coverage Δ
src/cell.rs 88.01% <75.00%> (ø)
src/row.rs 90.86% <80.00%> (ø)
src/format.rs 70.85% <100.00%> (+0.53%) ⬆️
src/lib.rs 87.85% <100.00%> (+0.30%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@rami3l
Copy link

rami3l commented Nov 20, 2020

@phsym I'd love to see this feature implemented! Just being curious, what has been blocking the merge? 🤔

@sstadick
Copy link

sstadick commented Mar 6, 2022

This would still be incredibly useful!

@rami3l
Copy link

rami3l commented Mar 6, 2022

@sstadick For my project (pacaptr) I've switched to tabled which is capable of doing this.

@pinkforest
Copy link
Collaborator

pinkforest commented Dec 27, 2022

I know it's been open for a while but if someone has time a rebase or a PR would be appreciated and get it to 0.11

nvm I fixed the conflict

This was referenced Dec 27, 2022
@PSeitz
Copy link

PSeitz commented Apr 5, 2023

Would be really nice, if that could be merged

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

5 participants