Skip to content

Commit 66155d8

Browse files
authored
Add missing code block language (#1113)
1 parent 7a34828 commit 66155d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/docc/DocCDocumentation.docc/linking-to-symbols-and-other-content.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ a colon (`:`), the article's file name without file extension, and a greater-tha
175175
If the article's file name contains whitespace characters, replace each consecutive sequence of whitespace characters with a dash.
176176
For example, the link to an article with a file name "Getting Started.md" is
177177

178-
```
178+
```markdown
179179
<doc:Getting-Started>
180180
```
181181

@@ -205,13 +205,13 @@ If the heading text contains whitespace or punctuation characters, replace each
205205

206206
For example, consider this level 3 heading with a handful of punctuation characters:
207207

208-
```
208+
```markdown
209209
### (1) "Example": Sloth's diet.
210210
```
211211

212212
A link to this heading can either include all the punctuation characters from the heading text or remove some or all of the punctuation characters.
213213

214-
```
214+
```markdown
215215
<doc:OtherPage#(1)-"Example":-Sloth's-diet.>
216216
<doc:OtherPage#1-Example-Sloths-diet>
217217
```
@@ -221,7 +221,7 @@ A link to this heading can either include all the punctuation characters from th
221221
222222
To add a link to heading or task group on the current page, use a `<doc:>` link that starts with the name of the heading. If you prefer you can include the hash (`#`) prefix before the heading name. For example, both these links resolve to a heading named "Some heading title" on the current page:
223223

224-
```
224+
```markdown
225225
<doc:#Some-heading-title>
226226
<doc:Some-heading-title>
227227
```

0 commit comments

Comments
 (0)