Update README.md
This commit is contained in:
parent
3389c86611
commit
f9772950b5
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
|
@ -34,15 +34,15 @@ std.debug.print("TypeID(Player): {}\n", .{TypeID(Player)});
|
||||||
Output: TypeID(Player): 2462284566368800629
|
Output: TypeID(Player): 2462284566368800629
|
||||||
```
|
```
|
||||||
|
|
||||||
## NicePrint
|
# NicePrint
|
||||||
|
|
||||||
# Styles
|
## Styles
|
||||||
- default
|
- default
|
||||||
- rounded
|
- rounded
|
||||||
- pipe
|
- pipe
|
||||||
- custom
|
- custom
|
||||||
|
|
||||||
# Example
|
## Example
|
||||||
```zig
|
```zig
|
||||||
// --- PRINT ---
|
// --- PRINT ---
|
||||||
if (log.print(.debug, "DEVICE INFO", ansi.bold ++ ansi.red)) |a| {
|
if (log.print(.debug, "DEVICE INFO", ansi.bold ++ ansi.red)) |a| {
|
||||||
|
|
@ -61,8 +61,8 @@ if (log.print(.debug, "DEVICE INFO", ansi.bold ++ ansi.red)) |a| {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
# Output
|
## Output
|
||||||
```bash
|
```text
|
||||||
┏━ DEVICE INFO
|
┏━ DEVICE INFO
|
||||||
┃ device -> GTX
|
┃ device -> GTX
|
||||||
┃ vendor -> Nvidia
|
┃ vendor -> Nvidia
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue