libnonius / nonius

A C++ micro-benchmarking framework
https://nonius.io
Creative Commons Zero v1.0 Universal
358 stars 47 forks source link

Markdown table generator #35

Open bagobor opened 8 years ago

bagobor commented 8 years ago

It will be nice to have output generator for markdown tables. (esp with sorting options).

sehe commented 8 years ago

Is there a specification for this? E.g. do you have a sample of such a table if you have done so manually?

bagobor commented 8 years ago

Specs: https://github.com/adam-p/markdown-here/wiki/Markdown-Here-Cheatsheet

Example:

Tables Are Cool
col 1 is left-aligned $1600
col 2 is centered $12
col 3 is right-aligned $1

Note: 'official' markdown doesn't support such tables. But any actual markdown renders do.

sehe commented 8 years ago

(esp with sorting options)

?

bagobor commented 8 years ago

@sehe sorting options for generator. not for resulting markdown.

rmartinho commented 8 years ago

This should be easy enough. I'll do it when I get some free time.