10000 Adjust directives syntax · performantdata/docs.scala-lang@314c1dc · GitHub
[go: up one dir, main page]

Skip to content

Commit 314c1dc

Browse files
committed
Adjust directives syntax
1 parent bd2fd31 commit 314c1dc

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

_includes/_markdown/install-munit.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
{% tab 'Scala CLI' %}
55
You can require the entire toolkit in a single line:
66
```scala
7-
//> using toolkit "latest"
7+
//> using toolkit latest
88
```
9-
**However, munit won't be available in your script right away.**
9+
**However, MUnit won't be available in your script right away.**
1010
MUnit will be available in the test scope sources only.
1111
To write a source file in the test scope, you can either put it in a `test` directory,
1212
or change its name to end with `.test.scala`. You can also use a dedicated directive to set the scope of your file.
1313
Learn more in the [Scala CLI documentation on tests](https://scala-cli.virtuslab.org/docs/commands/test/).
1414

1515
Alternatively, you can require just a specific version of MUnit:
1616
```scala
17-
//> using dep "org.scalameta::munit:1.0.0-M7"
17+
//> using dep org.scalameta::munit:1.0.0-M7
1818
```
1919
{% endtab %}
2020
{% tab 'sbt' %}

_includes/_markdown/install-os-lib.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
{% tab 'Scala CLI' %}
55
You can require the entire toolkit in a single line:
66
```scala
7-
//> using toolkit "latest"
7+
//> using toolkit latest
88
```
99

1010
Alternatively, you can require just a specific version of OS-Lib:
1111
```scala
12-
//> using dep "com.lihaoyi::os-lib:0.9.1"
12+
//> using dep com.lihaoyi::os-lib:0.9.1
1313
```
1414
{% endtab %}
1515
{% tab 'sbt' %}

_includes/_markdown/install-sttp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
{% tab 'Scala CLI' %}
55
You can require the entire toolkit in a single line:
66
```scala
7-
//> using toolkit "latest"
7+
//> using toolkit latest
88
```
99

1010
Alternatively, you can require just a specific version of sttp:
1111
```scala
12-
//> using dep "com.softwaremill.sttp.client4::core:4.0.0-M1"
12+
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M1
1313
```
1414
{% endtab %}
1515
{% tab 'sbt' %}

_includes/_markdown/install-upickle.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
{% tab 'Scala CLI' %}
55
Using Scala CLI, you can require the entire toolkit in a single line:
66
```scala
7-
//> using toolkit "latest"
7+
//> using toolkit latest
88
```
99

1010
Alternatively, you can require just a specific version of UPickle:
1111
```scala
12-
//> using dep "com.lihaoyi::upickle:3.1.0
12+
//> using dep com.lihaoyi::upickle:3.1.0
1313
```
1414
{% endtab %}
1515
{% tab 'sbt' %}

0 commit comments

Comments
 (0)
0