From e7a221ea904f3e517b11cd28c1d1455976f7e5ff Mon Sep 17 00:00:00 2001 From: Ben Phelps Date: Fri, 16 Sep 2022 11:07:20 +0300 Subject: [PATCH] Updated Information Widgets (markdown) --- Information-Widgets.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Information-Widgets.md b/Information-Widgets.md index 9143a49..5013ae8 100644 --- a/Information-Widgets.md +++ b/Information-Widgets.md @@ -138,7 +138,6 @@ This allows you to display the date and/or time, can be heavily configured using Formatting is locale aware and will present your date in the regional format you expect, for example, `9/16/22, 3:03 PM` for locale `en` and `16.09.22, 15:03` for `de`. - ```yaml - datetime: text_size: xl @@ -149,7 +148,9 @@ Formatting is locale aware and will present your date in the regional format you Any options passed to `format` are passed directly to [Intl.DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat), please reference the MDN documentation for all available options. -A few examples are, +Valid text sizes are `4xl`, `3xl`, `2xl`, `xl`, `md`, `sm`, `xs`. + +A few examples, ```yaml # 13:37