Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jan 18, 2024
1 parent 9d8e6b2 commit 7e8ed92
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vignettes/tutorial.qmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "`tinytable`"
subtitle: "Easy, beautiful, and customizable tables in R"
format:
html: default
pdf:
Expand Down Expand Up @@ -98,7 +99,10 @@ tt(x, theme = "void")
To align columns, we use a single character, or a string where each letter represents a column:

```{r}
dat <- data.frame(a = c("a", "aa"), b = c("b", "bb"), c = c("c", "cc"))
dat <- data.frame(
a = c("a", "aa", "aaa"),
b = c("b", "bb", "bbb"),
c = c("c", "cc", "ccc"))
tt(dat) |> style_tt(align = "c")
Expand Down

0 comments on commit 7e8ed92

Please sign in to comment.