From 49488d524b0988afe9dc0f881b429b7c2df10856 Mon Sep 17 00:00:00 2001 From: ihor-kitsa Date: Sat, 25 Jan 2025 01:14:02 +0200 Subject: [PATCH 1/3] Change code fence block language to json in markdown-reference.md --- Contribute/content/markdown-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contribute/content/markdown-reference.md b/Contribute/content/markdown-reference.md index 4fb748d7..45d500db 100644 --- a/Contribute/content/markdown-reference.md +++ b/Contribute/content/markdown-reference.md @@ -223,7 +223,7 @@ The following file types are supported by default for images: To support other image types, such as .gif, you must add them as resources in *docfx.json*: -```md +```json "resource": [ { "files" : [ From 0961bda3add895e30e77a42e85e07b541bfaf7c2 Mon Sep 17 00:00:00 2001 From: ihor-kitsa Date: Sat, 25 Jan 2025 01:25:57 +0200 Subject: [PATCH 2/3] Add missing quotation mark in markdown-reference.md --- Contribute/content/markdown-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contribute/content/markdown-reference.md b/Contribute/content/markdown-reference.md index 45d500db..10739eaf 100644 --- a/Contribute/content/markdown-reference.md +++ b/Contribute/content/markdown-reference.md @@ -228,7 +228,7 @@ To support other image types, such as .gif, you must add them as resources in *d { "files" : [ "**/*.png", - "**/*.jpg, + "**/*.jpg", "**/*.gif" ], ``` From f76871ca369de0be01702cbd861b504a3ee2d28f Mon Sep 17 00:00:00 2001 From: ihor-kitsa Date: Sat, 25 Jan 2025 04:03:14 +0200 Subject: [PATCH 3/3] Make JSON snippet well-formed in markdown-reference.md --- Contribute/content/markdown-reference.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/Contribute/content/markdown-reference.md b/Contribute/content/markdown-reference.md index 10739eaf..138a83bc 100644 --- a/Contribute/content/markdown-reference.md +++ b/Contribute/content/markdown-reference.md @@ -224,13 +224,21 @@ The following file types are supported by default for images: To support other image types, such as .gif, you must add them as resources in *docfx.json*: ```json -"resource": [ - { - "files" : [ - "**/*.png", - "**/*.jpg", - "**/*.gif" - ], +{ + "...": "...", + + "resource": [ + { + "files" : [ + "**/*.png", + "**/*.jpg", + "**/*.gif" + ], + + "...": "..." + } + ] +} ``` ### Standard conceptual images (default Markdown)