diff --git a/articles/building-twitter-followers.html b/articles/building-twitter-followers.html index 2432d733..02004fbb 100644 --- a/articles/building-twitter-followers.html +++ b/articles/building-twitter-followers.html @@ -114,8 +114,8 @@
You can already sort the table, but there’s no default sorting on the +
+You can already sort the table, but there’s no default sorting on the “exclusive followers” column. The numeric columns are still unformatted and sort in ascending order (smallest to largest) by default.
Let’s customize the default sorting, add proper column names, and @@ -230,8 +230,8 @@
The bar charts look good, but they aren’t aligned because the numbers +
+The bar charts look good, but they aren’t aligned because the numbers have different widths. Let’s fix this by giving each numeric label the same width. One way to do this would be to format the labels as fixed-width strings, and use a monospaced font so that each character @@ -352,8 +352,8 @@
tbl <- reactable(
diff --git a/articles/conditional-styling.html b/articles/conditional-styling.html
index 9ae62706..469d43f1 100644
--- a/articles/conditional-styling.html
+++ b/articles/conditional-styling.html
@@ -185,8 +185,8 @@ Example: color scales )
)
)
+ +- - + +dimnames <- list(start(nottem)[1]:end(nottem)[1], month.abb) temps <- matrix(nottem, ncol = 12, byrow = TRUE, dimnames = dimnames) @@ -187,8 +187,8 @@
Color scales), bordered = TRUE )
@@ -408,8 +408,8 @@Positive and negative values) ) )
If the image file is local, ensure the image can be found from the +
+If the image file is local, ensure the image can be found from the rendered document:
@@ -731,8 +731,8 @@Totals with aggregated rows), defaultColDef = colDef(footerStyle = list(fontWeight = "bold")) )
The The To use a custom font that’s not installed on your users’ systems by
+ To use a custom font that’s not installed on your users’ systems by
default, use the Online font services such as Google Fonts can make this easier
@@ -1247,8 +1247,8 @@ title
+
+title
attribute is inaccessible to most keyboard, mobile, and screen
reader users, however, so creating tooltips like this is generally
discouraged.Tooltips cyl = colDef(header = with_tooltip("cyl", "Number of cylinders"))
)
)
-
-
+
+
Highlight cells
@@ -897,8 +897,8 @@
Highlight cells }
)
)
Highlight columns
@@ -910,8 +910,8 @@
Highlight columns= colDef(style = list(background = "rgba(0, 0, 0, 0.03)"))
)
)
Highlight rows
@@ -924,8 +924,8 @@
Highlight rows else if (iris[index, "Petal.Length"] >= 1.5) list(background = "rgba(0, 0, 0, 0.05)")
}
)
Highlight sorted headers
@@ -956,8 +956,8 @@
Highlight sorted headers
-
-
+
+
Highlight sorted columns
@@ -979,8 +979,8 @@
Highlight sorted columns }")
)
)
Borders between groups of data
@@ -1023,8 +1023,8 @@
Borders between groups of data }
")
)
Merge cells
@@ -1064,8 +1064,8 @@
Merge cells),
outlined = TRUE
)
Borders between columns
@@ -1079,8 +1079,8 @@
Borders between columns ),
borderless = TRUE
)
Style nested rows
@@ -1109,8 +1109,8 @@
Style nested rows }"),
defaultExpanded = TRUE
)
Custom fonts
@@ -1127,8 +1127,8 @@
Custom fonts= list(fontFamily = "Work Sans, sans-serif", fontSize = "0.875rem"),
defaultSorted = "Species"
)
@font-face
CSS rule to add the font and specify where to download it from.Custom sort indicators
-
-
-