From f1d10e71aba769f10e6ef340494cac47daaba93a Mon Sep 17 00:00:00 2001 From: Michael Jared Lumpe Date: Mon, 4 May 2020 04:41:25 -0700 Subject: [PATCH] Increment header level of TerminalMenus section in REPL docs. (#35718) --- stdlib/REPL/docs/src/index.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/stdlib/REPL/docs/src/index.md b/stdlib/REPL/docs/src/index.md index 6a5d3d8ad1268..87f3eb2ed359c 100644 --- a/stdlib/REPL/docs/src/index.md +++ b/stdlib/REPL/docs/src/index.md @@ -450,11 +450,11 @@ ENV["JULIA_WARN_COLOR"] = :yellow ENV["JULIA_INFO_COLOR"] = :cyan ``` -# TerminalMenus +## TerminalMenus TerminalMenus is a submodule of the Julia REPL and enables small, low-profile interactive menus in the terminal. -## Examples +### Examples ```julia import REPL @@ -465,7 +465,7 @@ options = ["apple", "orange", "grape", "strawberry", ``` -### RadioMenu +#### RadioMenu The RadioMenu allows the user to select one option from the list. The `request` function displays the interactive menu and returns the index of the selected @@ -501,7 +501,7 @@ v peach Your favorite fruit is blueberry! ``` -### MultiSelectMenu +#### MultiSelectMenu The MultiSelectMenu allows users to select many choices from a list. @@ -542,12 +542,12 @@ You like the following fruits: - peach ``` -## Customization / Configuration +### Customization / Configuration All interface customization is done through the keyword only `TerminalMenus.config()` function. -### Arguments +#### Arguments - `charset::Symbol=:na`: ui characters to use (`:ascii` or `:unicode`); overridden by other arguments - `cursor::Char='>'|'→'`: character to use for cursor @@ -559,7 +559,7 @@ All interface customization is done through the keyword only - `supress_output::Bool=false`: For testing. If true, menu will not be printed to console. - `ctrl_c_interrupt::Bool=true`: If `false`, return empty on ^C, if `true` throw InterruptException() on ^C -### Examples +#### Examples ```julia julia> menu = MultiSelectMenu(options, pagesize=5); @@ -597,7 +597,7 @@ Set([4, 2]) ``` -# References +## References ```@docs Base.atreplinit