Skip to content

Commit 0beb330

Browse files
authored
Fix the pkl run command in the quickstart doc (#119)
1 parent 118806a commit 0beb330

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/modules/ROOT/pages/quickstart.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ These steps will get you up and going with using Pkl and Swift.
77
Add the pkl-swift library as a dependency to your project's `Package.swift`:
88

99
.Package.swift
10-
[source,swift]
11-
[subs="+attributes"]
10+
[source,swift,subs="+attributes"]
1211
----
1312
let package = Package(
1413
dependencies: [
@@ -50,7 +49,7 @@ Code generation is done via the `gen.pkl` CLI tool inside the `pkl.swift` packag
5049

5150
In our example, Swift sources can be generated using the following command:
5251

53-
[source,bash]
52+
[source,bash,subs="+attributes"]
5453
----
5554
pkl run package://pkg.pkl-lang.org/pkl-swift/pkl.swift@{version}#/gen.pkl pkl/AppConfig.pkl -o Sources/MyApplication/Generated/
5655
----

0 commit comments

Comments
 (0)