Nothing
Code
boxx("")
Output
+------+
| |
| |
| |
+------+
Code
boxx("")
Output
┌──────┐
│ │
│ │
│ │
└──────┘
Code
boxx(character())
Output
+------+
| |
| |
+------+
Code
boxx(character())
Output
┌──────┐
│ │
│ │
└──────┘
Code
boxx("label")
Output
+-----------+
| |
| label |
| |
+-----------+
Code
boxx("label")
Output
┌───────────┐
│ │
│ label │
│ │
└───────────┘
Code
boxx(c("label", "l2"))
Output
+-----------+
| |
| label |
| l2 |
| |
+-----------+
Code
boxx(c("label", "l2"))
Output
┌───────────┐
│ │
│ label │
│ l2 │
│ │
└───────────┘
Code
boxx("label", border_style = "classic")
Output
+-----------+
| |
| label |
| |
+-----------+
Code
boxx("label", border_style = "classic")
Output
+-----------+
| |
| label |
| |
+-----------+
Code
boxx("label", padding = 2)
Output
+-----------------+
| |
| |
| label |
| |
| |
+-----------------+
Code
boxx("label", padding = c(1, 2, 1, 2))
Output
+---------+
| |
| label |
| |
+---------+
Code
boxx("label", padding = c(1, 2, 0, 2))
Output
+---------+
| label |
| |
+---------+
Code
boxx("label", padding = c(1, 2, 0, 0))
Output
+-------+
| label|
| |
+-------+
Code
boxx("label", padding = 2)
Output
┌─────────────────┐
│ │
│ │
│ label │
│ │
│ │
└─────────────────┘
Code
boxx("label", padding = c(1, 2, 1, 2))
Output
┌─────────┐
│ │
│ label │
│ │
└─────────┘
Code
boxx("label", padding = c(1, 2, 0, 2))
Output
┌─────────┐
│ label │
│ │
└─────────┘
Code
boxx("label", padding = c(1, 2, 0, 0))
Output
┌───────┐
│ label│
│ │
└───────┘
Code
boxx("label", margin = 1)
Output
+-----------+
| |
| label |
| |
+-----------+
Code
boxx("label", margin = c(1, 2, 3, 4))
Output
+-----------+
| |
| label |
| |
+-----------+
Code
boxx("label", margin = c(0, 1, 2, 0))
Output
+-----------+
| |
| label |
| |
+-----------+
Code
boxx("label", margin = 1)
Output
┌───────────┐
│ │
│ label │
│ │
└───────────┘
Code
boxx("label", margin = c(1, 2, 3, 4))
Output
┌───────────┐
│ │
│ label │
│ │
└───────────┘
Code
boxx("label", margin = c(0, 1, 2, 0))
Output
┌───────────┐
│ │
│ label │
│ │
└───────────┘
Code
boxx("label", float = "center", width = 20)
Output
+-----------+
| |
| label |
| |
+-----------+
Code
boxx("label", float = "right", width = 20)
Output
+-----------+
| |
| label |
| |
+-----------+
Code
boxx("label", float = "center", width = 20)
Output
┌───────────┐
│ │
│ label │
│ │
└───────────┘
Code
boxx("label", float = "right", width = 20)
Output
┌───────────┐
│ │
│ label │
│ │
└───────────┘
Code
boxx("label", background_col = "red")
Output
+-----------+
| |
| label |
| |
+-----------+
Code
boxx("label", background_col = col_red)
Output
+-----------+
| |
| label |
| |
+-----------+
Code
boxx("label", background_col = "red")
Output
+-----------+
|[41m [49m|
|[41m label [49m|
|[41m [49m|
+-----------+
Code
boxx("label", background_col = col_red)
Output
+-----------+
|[31m [39m|
|[31m label [39m|
|[31m [39m|
+-----------+
Code
boxx("label", background_col = "red")
Output
┌───────────┐
│ │
│ label │
│ │
└───────────┘
Code
boxx("label", background_col = col_red)
Output
┌───────────┐
│ │
│ label │
│ │
└───────────┘
Code
boxx("label", background_col = "red")
Output
┌───────────┐
│[41m [49m│
│[41m label [49m│
│[41m [49m│
└───────────┘
Code
boxx("label", background_col = col_red)
Output
┌───────────┐
│[31m [39m│
│[31m label [39m│
│[31m [39m│
└───────────┘
Code
boxx("label", border_col = "red")
Output
+-----------+
| |
| label |
| |
+-----------+
Code
boxx("label", border_col = col_red)
Output
+-----------+
| |
| label |
| |
+-----------+
Code
boxx("label", border_col = "red")
Output
[31m+-----------+[39m
[31m|[39m [31m|[39m
[31m|[39m label [31m|[39m
[31m|[39m [31m|[39m
[31m+-----------+[39m
Code
boxx("label", border_col = col_red)
Output
[31m+-----------+[39m
[31m|[39m [31m|[39m
[31m|[39m label [31m|[39m
[31m|[39m [31m|[39m
[31m+-----------+[39m
Code
boxx("label", border_col = "red")
Output
┌───────────┐
│ │
│ label │
│ │
└───────────┘
Code
boxx("label", border_col = col_red)
Output
┌───────────┐
│ │
│ label │
│ │
└───────────┘
Code
boxx("label", border_col = "red")
Output
[31m┌───────────┐[39m
[31m│[39m [31m│[39m
[31m│[39m label [31m│[39m
[31m│[39m [31m│[39m
[31m└───────────┘[39m
Code
boxx("label", border_col = col_red)
Output
[31m┌───────────┐[39m
[31m│[39m [31m│[39m
[31m│[39m label [31m│[39m
[31m│[39m [31m│[39m
[31m└───────────┘[39m
Code
boxx(c("label", "l2"), align = "center")
Output
+-----------+
| |
| label |
| l2 |
| |
+-----------+
Code
boxx(c("label", "l2"), align = "right")
Output
+-----------+
| |
| label |
| l2 |
| |
+-----------+
Code
boxx(c("label", "l2"), align = "center")
Output
┌───────────┐
│ │
│ label │
│ l2 │
│ │
└───────────┘
Code
boxx(c("label", "l2"), align = "right")
Output
┌───────────┐
│ │
│ label │
│ l2 │
│ │
└───────────┘
Code
boxx("foobar", header = "foo")
Output
+ foo -------+
| |
| foobar |
| |
+------------+
Code
boxx("foobar", header = "foo")
Output
┌ foo ───────┐
│ │
│ foobar │
│ │
└────────────┘
Code
boxx("foobar", footer = "foo")
Output
+------------+
| |
| foobar |
| |
+------- foo +
Code
boxx("foobar", footer = "foo")
Output
┌────────────┐
│ │
│ foobar │
│ │
└─────── foo ┘
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.