mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 13:28:16 +08:00
New doc theme (#387)
This commit is contained in:
@ -5,9 +5,9 @@ RedirectFrom: rule
|
||||
|
||||
The `Rule` class is used to render a horizontal rule (line) to the terminal.
|
||||
|
||||
<img src="../assets/images/rule.png" style="width: 100%;" />
|
||||

|
||||
|
||||
# Usage
|
||||
## Usage
|
||||
|
||||
To render a rule without a title:
|
||||
|
||||
@ -29,7 +29,7 @@ AnsiConsole.Render(rule);
|
||||
───────────────────────────────── Hello ─────────────────────────────────
|
||||
```
|
||||
|
||||
### Title alignment
|
||||
## Title alignment
|
||||
|
||||
You can set the rule's title alignment.
|
||||
|
||||
|
Reference in New Issue
Block a user