|
214 | 214 | → This is some text that is longer than the width. This is some text that is
|
215 | 215 | longer than the width. This is some text that is longer than the width.
|
216 | 216 |
|
| 217 | +# bullets_raw glue [plain] |
| 218 | + |
| 219 | + Code |
| 220 | + cli_bullets_raw(c("noindent {.key {1:3}}", ` ` = "space {.key {1:3}}", v = "success {.key {1:3}}", |
| 221 | + x = "danger {.key {1:3}}", `!` = "warning {.key {1:3}}", i = "info {.key {1:3}}", |
| 222 | + `*` = "bullet {.key {1:3}}", `>` = "arrow {.key {1:3}}")) |
| 223 | + Message |
| 224 | + noindent {{.key {{1:3}}}} |
| 225 | + space {{.key {{1:3}}}} |
| 226 | + v success {{.key {{1:3}}}} |
| 227 | + x danger {{.key {{1:3}}}} |
| 228 | + ! warning {{.key {{1:3}}}} |
| 229 | + i info {{.key {{1:3}}}} |
| 230 | + * bullet {{.key {{1:3}}}} |
| 231 | + > arrow {{.key {{1:3}}}} |
| 232 | + |
| 233 | +# bullets_raw glue [ansi] |
| 234 | + |
| 235 | + Code |
| 236 | + cli_bullets_raw(c("noindent {.key {1:3}}", ` ` = "space {.key {1:3}}", v = "success {.key {1:3}}", |
| 237 | + x = "danger {.key {1:3}}", `!` = "warning {.key {1:3}}", i = "info {.key {1:3}}", |
| 238 | + `*` = "bullet {.key {1:3}}", `>` = "arrow {.key {1:3}}")) |
| 239 | + Message |
| 240 | + noindent {{.key {{1:3}}}} |
| 241 | + space {{.key {{1:3}}}} |
| 242 | + [32mv[39m success {{.key {{1:3}}}} |
| 243 | + [31mx[39m danger {{.key {{1:3}}}} |
| 244 | + [33m![39m warning {{.key {{1:3}}}} |
| 245 | + [36mi[39m info {{.key {{1:3}}}} |
| 246 | + [36m*[39m bullet {{.key {{1:3}}}} |
| 247 | + > arrow {{.key {{1:3}}}} |
| 248 | + |
| 249 | +# bullets_raw glue [unicode] |
| 250 | + |
| 251 | + Code |
| 252 | + cli_bullets_raw(c("noindent {.key {1:3}}", ` ` = "space {.key {1:3}}", v = "success {.key {1:3}}", |
| 253 | + x = "danger {.key {1:3}}", `!` = "warning {.key {1:3}}", i = "info {.key {1:3}}", |
| 254 | + `*` = "bullet {.key {1:3}}", `>` = "arrow {.key {1:3}}")) |
| 255 | + Message |
| 256 | + noindent {{.key {{1:3}}}} |
| 257 | + space {{.key {{1:3}}}} |
| 258 | + ✔ success {{.key {{1:3}}}} |
| 259 | + ✖ danger {{.key {{1:3}}}} |
| 260 | + ! warning {{.key {{1:3}}}} |
| 261 | + ℹ info {{.key {{1:3}}}} |
| 262 | + • bullet {{.key {{1:3}}}} |
| 263 | + → arrow {{.key {{1:3}}}} |
| 264 | + |
| 265 | +# bullets_raw glue [fancy] |
| 266 | + |
| 267 | + Code |
| 268 | + cli_bullets_raw(c("noindent {.key {1:3}}", ` ` = "space {.key {1:3}}", v = "success {.key {1:3}}", |
| 269 | + x = "danger {.key {1:3}}", `!` = "warning {.key {1:3}}", i = "info {.key {1:3}}", |
| 270 | + `*` = "bullet {.key {1:3}}", `>` = "arrow {.key {1:3}}")) |
| 271 | + Message |
| 272 | + noindent {{.key {{1:3}}}} |
| 273 | + space {{.key {{1:3}}}} |
| 274 | + [32m✔[39m success {{.key {{1:3}}}} |
| 275 | + [31m✖[39m danger {{.key {{1:3}}}} |
| 276 | + [33m![39m warning {{.key {{1:3}}}} |
| 277 | + [36mℹ[39m info {{.key {{1:3}}}} |
| 278 | + [36m•[39m bullet {{.key {{1:3}}}} |
| 279 | + → arrow {{.key {{1:3}}}} |
| 280 | + |
| 281 | +# bullets_raw handles <> (#789) [plain] |
| 282 | + |
| 283 | + Code |
| 284 | + cli_bullets_raw(c("{.field field} <x>", "{.field field} <<x>>")) |
| 285 | + Message |
| 286 | + {{.field field}} <x> |
| 287 | + {{.field field}} <<x>> |
| 288 | + |
| 289 | +# bullets_raw handles <> (#789) [ansi] |
| 290 | + |
| 291 | + Code |
| 292 | + cli_bullets_raw(c("{.field field} <x>", "{.field field} <<x>>")) |
| 293 | + Message |
| 294 | + {{.field field}} <x> |
| 295 | + {{.field field}} <<x>> |
| 296 | + |
| 297 | +# bullets_raw handles <> (#789) [unicode] |
| 298 | + |
| 299 | + Code |
| 300 | + cli_bullets_raw(c("{.field field} <x>", "{.field field} <<x>>")) |
| 301 | + Message |
| 302 | + {{.field field}} <x> |
| 303 | + {{.field field}} <<x>> |
| 304 | + |
| 305 | +# bullets_raw handles <> (#789) [fancy] |
| 306 | + |
| 307 | + Code |
| 308 | + cli_bullets_raw(c("{.field field} <x>", "{.field field} <<x>>")) |
| 309 | + Message |
| 310 | + {{.field field}} <x> |
| 311 | + {{.field field}} <<x>> |
| 312 | + |
0 commit comments