Skip to content

Commit 6209801

Browse files
committed
docs(header-links): build interactive menus
1 parent c760436 commit 6209801

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

build-interactive-menus.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Using menus in the console may sound silly, but is fantastic! Your users
1818
don't need to type the number corresponding to their choice any more. They
1919
can just use the arrows on their keyboard to make their selection!
2020

21+
<a name="example"></a>
2122
#### Example
2223

2324
Create your first menu by copy pasting the code below in your commands
@@ -36,12 +37,10 @@ $this->info("You have chosen the option number #$option");
3637
When you now run your command your output should be similar to this
3738
image:
3839

39-
<img
40-
src="https://raw.githubusercontent.com/nunomaduro/laravel-console-menu/master/docs/example.png"
41-
class="md:w-4/5 md:mx-auto"
42-
>
40+
<img src="https://raw.githubusercontent.com/nunomaduro/laravel-console-menu/master/docs/example.png" class="md:w-4/5 md:mx-auto">
4341

44-
<h4 class="mt-0">Changing the appearance</h4>
42+
<a name="changing-the-appearance"></a>
43+
#### Changing the appearance
4544

4645
The appearance of the menu can be set with a fluent API. What if we like
4746
a green font on a black background? The code below shows you how to do just that and some extras.

0 commit comments

Comments
 (0)