From 66155d83c34a54b2e1feb47cab6bd35a73b3fd91 Mon Sep 17 00:00:00 2001 From: Kyle Date: Wed, 4 Dec 2024 17:51:42 +0800 Subject: [PATCH] Add missing code block language (#1113) --- .../linking-to-symbols-and-other-content.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/docc/DocCDocumentation.docc/linking-to-symbols-and-other-content.md b/Sources/docc/DocCDocumentation.docc/linking-to-symbols-and-other-content.md index 6714bd6f42..e9665bb073 100644 --- a/Sources/docc/DocCDocumentation.docc/linking-to-symbols-and-other-content.md +++ b/Sources/docc/DocCDocumentation.docc/linking-to-symbols-and-other-content.md @@ -175,7 +175,7 @@ a colon (`:`), the article's file name without file extension, and a greater-tha If the article's file name contains whitespace characters, replace each consecutive sequence of whitespace characters with a dash. For example, the link to an article with a file name "Getting Started.md" is -``` +```markdown ``` @@ -205,13 +205,13 @@ If the heading text contains whitespace or punctuation characters, replace each For example, consider this level 3 heading with a handful of punctuation characters: -``` +```markdown ### (1) "Example": Sloth's diet. ``` 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. -``` +```markdown ``` @@ -221,7 +221,7 @@ A link to this heading can either include all the punctuation characters from th To add a link to heading or task group on the current page, use a `` 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: -``` +```markdown ```