tabulate icon indicating copy to clipboard operation
tabulate copied to clipboard

How to apply font style to borders and corners ?

Open jfalcou opened this issue 5 years ago • 2 comments

Looks like setting .font_style({tabulate::FontStyle::bold}) don't affect border nor corner. Is it intended?

jfalcou avatar Jan 04 '20 19:01 jfalcou

Currently you can't set the style for border and corners - only because I didn't need it at the time of implementation.

There's no reason not to support this though. I can add to the current API, e.g., .border_style({...}) with support for explicit styling like border_bottom_style({...}) or corner_top_right_style({...}).

p-ranav avatar Jan 04 '20 20:01 p-ranav

Sounds perfect.

jfalcou avatar Jan 04 '20 20:01 jfalcou