Skip to content

Commit 29834e9

Browse files
committed
Fix <maml:paragraph> elements in cmdlet doc examples to <maml:para>
1 parent 45a3437 commit 29834e9

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

reference/docs-conceptual/developer/help/how-to-add-examples-to-a-cmdlet-help-topic.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ the Windows PowerShell prompt: `C:\PS>`.
6363
<command:examples>
6464
<command:example>
6565
<maml:title>---------- EXAMPLE 1 ----------</maml:title>
66-
<maml:Introduction>
67-
<maml:paragraph>C:\PS></maml:paragraph>
68-
</maml:Introduction>
66+
<maml:introduction>
67+
<maml:para>C:\PS></maml:para>
68+
</maml:introduction>
6969
</command:example>
7070
</command:examples>
7171
```
@@ -80,9 +80,9 @@ whenever possible.
8080
<command:examples>
8181
<command:example>
8282
<maml:title>---------- EXAMPLE 1 ----------</maml:title>
83-
<maml:Introduction>
84-
<maml:paragraph>C:\PS></maml:paragraph>
85-
</maml:Introduction>
83+
<maml:introduction>
84+
<maml:para>C:\PS></maml:para>
85+
</maml:introduction>
8686
<dev:code> command </dev:code>
8787
</command:example>
8888
</command:examples>
@@ -97,9 +97,9 @@ The following XML shows how to add a description for the example. PowerShell use
9797
<command:examples>
9898
<command:example>
9999
<maml:title>---------- EXAMPLE 1 ----------</maml:title>
100-
<maml:Introduction>
101-
<maml:paragraph>C:\PS></maml:paragraph>
102-
</maml:Introduction>
100+
<maml:introduction>
101+
<maml:para>C:\PS></maml:para>
102+
</maml:introduction>
103103
<dev:code> command </dev:code>
104104
<dev:remarks>
105105
<maml:para> command description </maml:para>
@@ -119,9 +119,9 @@ command.
119119
<command:examples>
120120
<command:example>
121121
<maml:title>---------- EXAMPLE 1 ----------</maml:title>
122-
<maml:Introduction>
123-
<maml:paragraph>C:\PS></maml:paragraph>
124-
</maml:Introduction>
122+
<maml:introduction>
123+
<maml:para>C:\PS></maml:para>
124+
</maml:introduction>
125125
<dev:code> command </dev:code>
126126
<dev:remarks>
127127
<maml:para> command description </maml:para>

0 commit comments

Comments
 (0)