commit | 9ce317e5acf4909aa31f1d7961130da12ac021d4 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Thu Oct 12 18:19:55 2017 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Thu Oct 12 18:19:55 2017 -0400 |
tree | dfb3a0724dd5f5bab87ecea69f366e28e1381168 | |
parent | bacd2f30398322122f88b9164003e11d27dc7eab [diff] [blame] |
Add spec_color and family
diff --git a/R/column_spec.R b/R/column_spec.R index 8e0c554..647f689 100644 --- a/R/column_spec.R +++ b/R/column_spec.R
@@ -87,7 +87,8 @@ target_cell <- xml_child(xml_child(kable_tbody, i), j) if (!is.null(width)) { xml_attr(target_cell, "style") <- paste0(xml_attr(target_cell, "style"), - "width: ", width, "; ") + "width: ", width, + "; display: inline-block; ") } if (bold) { xml_attr(target_cell, "style") <- paste0(xml_attr(target_cell, "style"),