Skip to content

Commit c4581aa

Browse files
committed
formatting fix
1 parent 15c1e84 commit c4581aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Content/Chapter-11-tricks-and-hacks/code-snippets/code-snippets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ We see many things we haven't seen yet, but don't worry, we will become acquaint
3030

3131
## Changing an Existing Snippet
3232

33-
Now we have to focus on the part `<Title></Title>`, `<Shortcut></Shortcut>` and the code between `CDATA[]`. Firstly, we will change the title in `<Title></Title>` and in the place of `cw`we will write `cr`, as this will be **the title of our snippet**. After that, in the section `<Shortcut></Shortcut>`, we will change what we have to write to **call our snippet** \(the shortcut\) from `cw` to `cr`. Finally, we need to change the code in `CDATA[]`, from `WriteLine` to `ReadLine`: `CDATA[$SystemConsole$.ReadLine($end$);]`. If you wish, you can change the sections [Description] and [Author]. The changed file should look like this:
33+
Now we have to focus on the part `<Title></Title>`, `<Shortcut></Shortcut>` and the code between `CDATA[]`. Firstly, we will change the title in `<Title></Title>` and in the place of `cw`we will write `cr`, as this will be **the title of our snippet**. After that, in the section `<Shortcut></Shortcut>`, we will change what we have to write to **call our snippet** \(the shortcut\) from `cw` to `cr`. Finally, we need to change the code in `CDATA[]`, from `WriteLine` to `ReadLine`: `CDATA[$SystemConsole$.ReadLine($end$);]`. If you wish, you can change the sections `<Description></Description>` and `<Author></Author>`. The changed file should look like this:
3434

3535
![](/assets/chapter-11-images/01.Code-snippet-05.jpg)
3636

0 commit comments

Comments
 (0)