Skip to content

Commit ec3f5f1

Browse files
amartini51krilnon
andcommitted
Change the default code listing language to Swift.
This improves the failure case of a code listing that accidentally omits its language -- instead of getting no (or incorrect) syntax highlighting, it gets highlighted as Swift. Most of the time, that will be right in this book. Confirmed no changes in the rendered HTML. Co-authored-by: Kyle Murray <kyle_murray@apple.com>
1 parent ac7342f commit ec3f5f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TSPL/TSPL.docc/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<key>CFBundleIdentifier</key>
1010
<string>org.swift.tspl</string>
1111
<key>CDDefaultCodeListingLanguage</key>
12-
<string>markdown</string>
12+
<string>swift</string>
1313
<key>CFBundleDevelopmentRegion</key>
1414
<string>en</string>
1515
<key>CFBundleIconFile</key>

0 commit comments

Comments
 (0)