Skip to content

Commit 0e6f2f8

Browse files
authored
Merge pull request #5330 from Rageking8/fix-missing-or-malformed-image-end
Fix missing or malformed `:::image-end:::`
2 parents 68e1b89 + 19e04e9 commit 0e6f2f8

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

docs/build/clang-support-msbuild.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Learn more about: Clang/LLVM support in Visual Studio projects"
32
title: "Clang/LLVM support in Visual Studio projects"
3+
description: "Learn more about: Clang/LLVM support in Visual Studio projects"
44
ms.date: 03/13/2024
55
ms.description: "Configure a Visual Studio MSBuild project to use the Clang/LLVM toolchain."
66
helpviewer_keywords: ["Clang support for C++ MSBuild projects"]
@@ -116,5 +116,7 @@ After you have set up a Clang configuration, right-click again on the project no
116116
When debugging, you can use breakpoints, memory and data visualization, and most other debugging features.
117117

118118
:::image type="complex" source="media/clang-debug-msbuild.png" alt-text="Screenshot of Visual Studio debugging a sample app":::
119-
The portion of the app that is visible creates a string vector and adds some strings to it. Execution has stopped on a breakpoint for the code: v.push_back("Clang/LLVM");."
119+
The portion of the app that is visible creates a string vector and adds some strings to it. Execution has stopped on a breakpoint for the code: v.push_back("Clang/LLVM");.
120+
:::image-end:::
121+
120122
::: moniker-end

docs/cpp/arrays-cpp.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,9 @@ int i2[5][7];
161161

162162
It specifies an array of type **`int`**, conceptually arranged in a two-dimensional matrix of five rows and seven columns, as shown in the following figure:
163163

164-
:::image type="content" source="../cpp/media/vc38rc1.gif" alt-text="Conceptual layout of a multidimensional array.":::
165-
164+
:::image type="complex" source="../cpp/media/vc38rc1.gif" alt-text="Conceptual layout of a multidimensional array.":::
166165
The image is a grid 7 cells wide and 5 cells high. Each cell contains the index of the cell. The first cell index is labeled 0,0. The next cell in that row is 0,1 and so on to the last cell in that row which is 0,6. The next row starts with the index 1,0. The cell after that has an index of 1,1. The last cell in that row is 1,6. This pattern repeats until the last row, which starts with the index 4,0. The last cell in the last row has an index of 4,6.
167-
:::image-end
166+
:::image-end:::
168167

169168
You can declare multidimensioned arrays that have an initializer list (as described in [Initializers](../cpp/initializers.md)). In these declarations, the constant expression that specifies the bounds for the first dimension can be omitted. For example:
170169

docs/get-started/tutorial-console-cpp.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,8 @@ Visual Studio uses *projects* to organize the code for an app, and *solutions* t
433433
3. In the **Name** textbox at the bottom, name the new project *CalculatorTutorial*, then select **OK**.
434434

435435
:::image type="complex" source="./media/calc-vs2017-new-project-dialog.png" alt-text="Screenshot of the New Project dialog.":::
436-
On the left, Other Languages > Visual C++ is selected. In the center, the Console App project type is selected. The Name text box contains CalculatorTutorial.":::
436+
On the left, Other Languages > Visual C++ is selected. In the center, the Console App project type is selected. The Name text box contains CalculatorTutorial.
437+
:::image-end:::
437438

438439
An empty C++ Windows console application 'Hello World' app is created. Console applications use a Windows console window to display output and accept user input. In Visual Studio, an editor window opens and shows the generated code:
439440

0 commit comments

Comments
 (0)