-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
report_table() fully markdown compatible? #415
Comments
Can you clarify why the extra dashes in the second example affects markdown parsing? The p value column should be right-aligned, which the current output is |
You might be looking for cor.test(mtcars$mpg, mtcars$wt) |>
report::report_table() |>
insight::print_md()
Pearson’s product-moment correlation Alternative hypothesis: true correlation is not equal to 0 Created on 2024-01-22 with reprex v2.0.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just learned from your marvelous package. Trying out the
report_table()
function, I wonder if it wouldn't be nice to get a table completely compatible with Markdown. What I mean: Instead of the following snippet:I would like to have the following minor changes:
The advantage of this small change? It would allow with some R chunk options to interpret the output as a Markdown table:
The options I am referring are:
With an extra argument in the function, you could provide both options.
Please tell me if this is a sound idea, or if I have misunderstood completely the purpose of the function.
The text was updated successfully, but these errors were encountered: