Skip to content

Commit 9954aaa

Browse files
authored
Mention REPL help mode in getting started doc (#41663)
1 parent 27a2266 commit 9954aaa

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/src/manual/getting-started.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,19 @@ command-line-options).
104104

105105
A curated list of useful learning resources to help new users get started can be found on the [learning](https://julialang.org/learning/) page of the main Julia web site.
106106

107+
You can use the REPL as a learning resource by switching into the help mode.
108+
Switch to help mode by pressing `?` at an empty `julia> ` prompt, before typing
109+
anything else. Typing a keyword in help mode will fetch the documentation for
110+
it, along with examples. Similarly for most functions or other objects you
111+
might encounter!
112+
113+
```
114+
help?> begin
115+
search: begin disable_sigint reenable_sigint
116+
117+
begin
118+
119+
begin...end denotes a block of code.
120+
```
121+
107122
If you already know Julia a bit, you might want to peek ahead at [Performance Tips](@ref man-performance-tips) and [Workflow Tips](@ref man-workflow-tips).

0 commit comments

Comments
 (0)