Skip to content

Commit e866fd9

Browse files
authored
Clean up unneeded space between code block backticks and language (#5201)
1 parent dbf0722 commit e866fd9

5 files changed

+10
-13
lines changed

docs/build/cmake-remote-debugging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: "Tutorial: Debug a CMake project on a remote Windows machine"
3+
description: "How to use Visual Studio C++ on Windows to create and build a CMake project. You'll then deploy and debug it on a remote Windows machine."
34
ms.date: "12/4/2020"
45
ms.topic: tutorial
5-
description: "How to use Visual Studio C++ on Windows to create and build a CMake project. You'll then deploy and debug it on a remote Windows machine."
66
---
77

88
# Tutorial: Debug a CMake project on a remote Windows machine
@@ -115,7 +115,7 @@ For example, on the remote machine, from the Visual Studio Remote Debugger menu
115115

116116
Then, in Visual Studio on the host machine, update the *`launch.vs.json`* file to match. For example, if you choose **No Authentication** on the remote debugger, update the *`launch.vs.json`* file in your project by adding `"authenticationType": "none"` to the `configurations` section *`launch.vs.json`*. Otherwise, `"authenticationType"` defaults to `"windows"` and doesn't need to be explicitly stated. This example shows a *`launch.vs.json`* file configured for no authentication:
117117

118-
``` XAML
118+
```XAML
119119
{
120120
"version": "0.2.1",
121121
"defaults": {},

docs/build/how-to-use-build-events-in-msbuild-projects.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2-
description: "Learn more about: How to: Use Build Events in MSBuild Projects"
32
title: "How to: Use Build Events in MSBuild Projects"
3+
description: "Learn more about: How to: Use Build Events in MSBuild Projects"
44
ms.date: "11/04/2016"
55
helpviewer_keywords: ["msbuild (c++), howto: use build events in projects"]
6-
ms.assetid: 2a58dc9d-3d50-4e49-97c1-86c5a05ce218
76
---
87
# How to: Use Build Events in MSBuild Projects
98

@@ -33,7 +32,7 @@ The following table lists each *use-in-build* element:
3332

3433
The following example can be added inside of the Project element of the myproject.vcxproj file created in [Walkthrough: Using MSBuild to Create a C++ Project](walkthrough-using-msbuild-to-create-a-visual-cpp-project.md). A *pre-build* event makes a copy of main.cpp; a *pre-link* event makes a copy of main.obj; and a *post-build* event makes a copy of myproject.exe. If the project is built using a release configuration, the build events are executed. If the project is built using a debug configuration, the build events are not executed.
3534

36-
``` xml
35+
```xml
3736
<ItemDefinitionGroup>
3837
<PreBuildEvent>
3938
<Command>copy $(ProjectDir)main.cpp $(ProjectDir)copyOfMain.cpp</Command>
@@ -64,5 +63,5 @@ The following example can be added inside of the Project element of the myprojec
6463

6564
## See also
6665

67-
[MSBuild on the command line - C++](msbuild-visual-cpp.md)<br/>
66+
[MSBuild on the command line - C++](msbuild-visual-cpp.md)\
6867
[Walkthrough: Using MSBuild to Create a C++ Project](walkthrough-using-msbuild-to-create-a-visual-cpp-project.md)

docs/dotnet/data-access-using-adonet-cpp-cli.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2-
description: "Learn more about: Data Access Using ADO.NET (C++/CLI)"
32
title: "Data Access Using ADO.NET (C++/CLI)"
3+
description: "Learn more about: Data Access Using ADO.NET (C++/CLI)"
44
ms.date: "11/04/2016"
55
helpviewer_keywords: ["ADO.NET [C++]", ".NET Framework [C++], data access", "databases [C++], accessing in C++", "data access [C++], ADO.NET", "data [C++], ADO.NET", "native strings [C++]", "ADO.NET [C++], marshaling ANSI strings", "strings [C++], ADO.NET", "BSTRs, strings", "ADO.NET [C++], marshaling BSTR strings", "strings [C++], marshaling BSTR strings", "ADO.NET [C++], marshaling Unicode strings", "Unicode [C++], strings", "strings [C++], Unicode", "VARIANT, marshaling", "ADO.NET [C++], marshaling VARIANT types", "VARIANT", "SAFEARRAY, marshaling", "ADO.NET [C++], marshaling SAFEARRAY types"]
6-
ms.assetid: b0cd987d-1ea7-4f76-ba01-cbd52503d06d
76
---
87
# Data Access Using ADO.NET (C++/CLI)
98

@@ -152,7 +151,7 @@ The rest of the code in this example is native C++ code, as is indicated by the
152151
> [!NOTE]
153152
> The memory allocated by <xref:System.Runtime.InteropServices.Marshal.StringToBSTR%2A> must be deallocated by calling either <xref:System.Runtime.InteropServices.Marshal.FreeBSTR%2A> or `SysFreeString`.
154153
155-
``` cpp
154+
```cpp
156155
// adonet_marshal_string_bstr.cpp
157156
// compile with: /clr /FU System.dll /FU System.Data.dll /FU System.Xml.dll
158157
#include <comdef.h>

docs/extensions/compiler-support-for-type-traits-cpp-component-extensions.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
2-
description: "Learn more about: Compiler Support for Type Traits (C++/CLI and C++/CX)"
32
title: "Compiler Support for Type Traits (C++/CLI and C++/CX)"
3+
description: "Learn more about: Compiler Support for Type Traits (C++/CLI and C++/CX)"
44
ms.date: "10/12/2018"
55
ms.topic: "reference"
66
f1_keywords: ["__is_simple_value_class", "__has_trivial_destructor", "__has_assign", "__is_union", "__is_class", "__is_abstract", "__has_trivial_assign", "__has_virtual_destructor", "__is_ref_array", "__is_base_of", "__has_copy", "__is_polymorphic", "__has_nothrow_constructor", "__is_ref_class", "__is_delegate", "__is_convertible_to", "__is_value_class", "__is_interface_class", "__has_nothrow_copy", "__is_sealed", "__has_trivial_constructor", "__has_trivial_copy", "__is_enum", "__has_nothrow_assign", "__has_finalizer", "__is_empty", "__is_pod", "__has_user_destructor"]
77
helpviewer_keywords: ["__is_class keyword [C++]", "__is_pod keyword [C++]", "__is_delegate keyword [C++]", "__is_value_class keyword [C++]", "__has_copy keyword [C++]", "__has_nothrow_copy keyword [C++]", "__is_interface_class keyword [C++]", "__is_sealed keyword [C++]", "__is_convertible_to keyword [C++]", "__is_ref_class keyword [C++]", "__has_trivial_copy keyword [C++]", "__has_user_destructor keyword [C++]", "__is_abstract keyword [C++]", "__is_empty keyword [C++]", "__has_trivial_assign keyword [C++]", "__has_nothrow_constructor keyword [C++]", "__is_ref_array keyword [C++]", "__is_base_of keyword [C++]", "__has_nothrow_assign keyword [C++]", "__has_virtual_destructor keyword [C++]", "__has_finalizer keyword [C++]", "__is_union keyword [C++]", "__has_assign keyword [C++]", "__has_trivial_destructor keyword [C++]", "__is_polymorphic keyword [C++]", "__is_enum keyword [C++]", "__is_simple_value_class keyword [C++]", "__has_trivial_constructor keyword [C++]"]
8-
ms.assetid: cd440630-0394-48c0-a16b-1580b6ef5844
98
---
109
# Compiler Support for Type Traits (C++/CLI and C++/CX)
1110

@@ -160,7 +159,7 @@ The following list contains the type traits that are supported by the compiler.
160159

161160
Returns **`true`** if the type has a trivial, compiler-generated destructor.
162161

163-
``` cpp
162+
```cpp
164163
// has_trivial_destructor.cpp
165164
#include <stdio.h>
166165
struct S {};

docs/mfc/reference/buffercommand-enumeration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Used by [CMemFile::GetBufferPtr](cmemfile-class.md#getbufferptr) to determine wh
1111

1212
## Syntax
1313

14-
``` cpp
14+
```cpp
1515
public enum BufferCommand
1616
{
1717
bufferRead,

0 commit comments

Comments
 (0)