-
-
Notifications
You must be signed in to change notification settings - Fork 335
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
Export to Markdown #44
Comments
I've started looking at this and it seems like we're going to implement this one by hand. There's been nothing I've seen that will do this form of serialization by default, and nothing in particular that will integrate with serde. |
Using something like https://docs.rs/comrak/0.2.8/comrak/ could work (create an AST that represents the table and pretty-print it via On the other hand, maybe the easiest option for now would be to simply |
True, in our case simply creating the encoded values ourselves will probably be best as it is rather simple. I'll move into that next since #45 is now ready |
@sharkdp I've completed this in my export-markdown branch. I'll make a PR once #45 has been merged. Export result:
|
Looks great! Maybe we could add backticks ("`") around the command such that it would render as code? |
Missed your comment, adding it now |
Add a
--export-markdown
option in analogy to #41 for CSV and #42 for JSON.The output could look like this:
Rendered:
The text was updated successfully, but these errors were encountered: