From 76291a14359a4cff1eb4c41eeb301a590bb7b0f7 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sun, 22 Nov 2020 15:47:03 -0700 Subject: [PATCH] More doc updates! --- docs/art/mci.md | 6 ++++-- docs/assets/images/text-format-example1.png | Bin 0 -> 496 bytes 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 docs/assets/images/text-format-example1.png diff --git a/docs/art/mci.md b/docs/art/mci.md index 859f25bf..3fed8248 100644 --- a/docs/art/mci.md +++ b/docs/art/mci.md @@ -208,6 +208,8 @@ Additional text styles are available for numbers: #### Examples -Suppose a format object contains the following elements: `userName` and `affils`. We could create a `itemFormat` entry that builds a item to our specifications: `|04{userName!styleFirstLower} |08- |13{affils}`. This may produce a string such as "eVIL cURRENT - Razor 1911". +Suppose a format object contains the following elements: `userName` and `affils`. We could create a `itemFormat` entry that builds a item to our specifications: `|04{userName!styleFirstLower} |08- |13{affils}`. This may produce a string such as this: -Remember that a Python [string format mini language](https://docs.python.org/3/library/string.html#format-specification-mini-language) style syntax is available for widths, alignment, number prevision, etc. as well. A number can be made to be more human readable for example: `{byteSize:,}` may yield "1,123,456". \ No newline at end of file +![Example](../assets/images/text-format-example1.png "Text Format") + +:bulb: Remember that a Python [string format mini language](https://docs.python.org/3/library/string.html#format-specification-mini-language) style syntax is available for widths, alignment, number prevision, etc. as well. A number can be made to be more human readable for example: `{byteSize:,}` may yield "1,123,456". \ No newline at end of file diff --git a/docs/assets/images/text-format-example1.png b/docs/assets/images/text-format-example1.png new file mode 100644 index 0000000000000000000000000000000000000000..387786f2315b77660d619b44cfe678d9f05d1443 GIT binary patch literal 496 zcmVwa>O7AhOyIEbbLm~hqM=I9V&w8Y7V=6R|!!h>mN`Tz%UHs z({Mwr6952s@fMJgTIS%!O{66qSGHq6&G+J5Eg^?oSzH{Okxd+d;b5vzt2k+U*?#b~ zBGg~J;$kh>Kh}!gj%iABD`i$(bjLN7)#%~*DymIrv)bY+Jh$7$7JW!cSNeVKdt__FFpSr*OlX`( m&i`uhNB_NM7=~dO=kf!ILiJ{EP+o`t0000