Skip to content

Commit

Permalink
Fixes to the command line tutorial (#5276)
Browse files Browse the repository at this point in the history
- Fix formatting of the `<sdk-install-dir>` variable.
- Fix copy of "consult the docs ..."

Fixed formatting:
<img width="914" alt="Showcases the variable correctly formatted"
src="https://github.com/dart-lang/site-www/assets/18372958/07e5bc14-0501-44da-8632-9fc26fc4ee77">
  • Loading branch information
parlough authored Oct 24, 2023
1 parent d3cdb25 commit fdec318
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tutorials/server/cmdline.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ The `dart` commands are included with the [Dart SDK](/tools/sdk).

{{site.alert.important}}
The location of the SDK installation directory
(we'll call it _&lt;sdk-install-dir&gt;_) depends on your platform
(we'll call it `<sdk-install-dir>`) depends on your platform
and how you installed the SDK.
You can find `dart` in `_&lt;sdk-install-dir&gt;_/bin`.
You can find `dart` in `<sdk-install-dir>/bin`.
By putting this directory in your PATH
you can refer to the `dart` command by name.
{{site.alert.end}}
Expand Down Expand Up @@ -626,7 +626,7 @@ that help with parsing and using command-line arguments:
[`ArgResults`]({{argsAPI}}/ArgResults-class.html).

For more classes, functions, and properties,
consult to the API docs for
consult the API docs for
[`dart:io`]({{ioAPI}}/dart-io-library.html),
[`dart:convert`]({{site.dart-api}}/{{site.data.pkg-vers.SDK.channel}}/dart-convert/dart-convert-library.html),
and [`package:args`]({{argsAPI}}/args-library.html).
Expand Down

0 comments on commit fdec318

Please sign in to comment.