Skip to content

Commit f1d10e7

Browse files
authored
Increment header level of TerminalMenus section in REPL docs. (#35718)
1 parent a1f6448 commit f1d10e7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

stdlib/REPL/docs/src/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -450,11 +450,11 @@ ENV["JULIA_WARN_COLOR"] = :yellow
450450
ENV["JULIA_INFO_COLOR"] = :cyan
451451
```
452452

453-
# TerminalMenus
453+
## TerminalMenus
454454

455455
TerminalMenus is a submodule of the Julia REPL and enables small, low-profile interactive menus in the terminal.
456456

457-
## Examples
457+
### Examples
458458

459459
```julia
460460
import REPL
@@ -465,7 +465,7 @@ options = ["apple", "orange", "grape", "strawberry",
465465

466466
```
467467

468-
### RadioMenu
468+
#### RadioMenu
469469

470470
The RadioMenu allows the user to select one option from the list. The `request`
471471
function displays the interactive menu and returns the index of the selected
@@ -501,7 +501,7 @@ v peach
501501
Your favorite fruit is blueberry!
502502
```
503503

504-
### MultiSelectMenu
504+
#### MultiSelectMenu
505505

506506
The MultiSelectMenu allows users to select many choices from a list.
507507

@@ -542,12 +542,12 @@ You like the following fruits:
542542
- peach
543543
```
544544

545-
## Customization / Configuration
545+
### Customization / Configuration
546546

547547
All interface customization is done through the keyword only
548548
`TerminalMenus.config()` function.
549549

550-
### Arguments
550+
#### Arguments
551551

552552
- `charset::Symbol=:na`: ui characters to use (`:ascii` or `:unicode`); overridden by other arguments
553553
- `cursor::Char='>'|'→'`: character to use for cursor
@@ -559,7 +559,7 @@ All interface customization is done through the keyword only
559559
- `supress_output::Bool=false`: For testing. If true, menu will not be printed to console.
560560
- `ctrl_c_interrupt::Bool=true`: If `false`, return empty on ^C, if `true` throw InterruptException() on ^C
561561

562-
### Examples
562+
#### Examples
563563

564564
```julia
565565
julia> menu = MultiSelectMenu(options, pagesize=5);
@@ -597,7 +597,7 @@ Set([4, 2])
597597

598598
```
599599

600-
# References
600+
## References
601601

602602
```@docs
603603
Base.atreplinit

0 commit comments

Comments
 (0)