Skip to content

Commit

Permalink
Escape curly braces in MDX for v5 docs
Browse files Browse the repository at this point in the history
This needs to be fixed in source.

MDX v2 allows expressions inside curly braces
outside of codefences
  • Loading branch information
fflaten committed Jul 12, 2023
1 parent 27ad179 commit 3cec780
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions docs/commands/Assert-MockCalled.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Assert-MockCalled [-CommandName] <String> [[-Times] <Int32>] [-ParameterFilter <

## DESCRIPTION

{{ Fill in the Description }}
\{\{ Fill in the Description \}\}

## EXAMPLES

Expand All @@ -52,13 +52,13 @@ Assert-MockCalled [-CommandName] <String> [[-Times] <Int32>] [-ParameterFilter <
PS C:\> {{ Add example code here }}
```

{{ Add example description here }}
\{\{ Add example description here \}\}

## PARAMETERS

### -CommandName

{{ Fill CommandName Description }}
\{\{ Fill CommandName Description \}\}

```yaml
Type: String
Expand All @@ -74,7 +74,7 @@ Accept wildcard characters: False
### -Times
{{ Fill Times Description }}
\{\{ Fill Times Description \}\}
```yaml
Type: Int32
Expand All @@ -90,7 +90,7 @@ Accept wildcard characters: False
### -ParameterFilter
{{ Fill ParameterFilter Description }}
\{\{ Fill ParameterFilter Description \}\}
```yaml
Type: ScriptBlock
Expand All @@ -106,7 +106,7 @@ Accept wildcard characters: False
### -ExclusiveFilter
{{ Fill ExclusiveFilter Description }}
\{\{ Fill ExclusiveFilter Description \}\}
```yaml
Type: ScriptBlock
Expand All @@ -122,7 +122,7 @@ Accept wildcard characters: False
### -ModuleName
{{ Fill ModuleName Description }}
\{\{ Fill ModuleName Description \}\}
```yaml
Type: String
Expand All @@ -138,7 +138,7 @@ Accept wildcard characters: False
### -Scope
{{ Fill Scope Description }}
\{\{ Fill Scope Description \}\}
```yaml
Type: String
Expand All @@ -154,7 +154,7 @@ Accept wildcard characters: False
### -Exactly
{{ Fill Exactly Description }}
\{\{ Fill Exactly Description \}\}
```yaml
Type: SwitchParameter
Expand Down
4 changes: 2 additions & 2 deletions docs/commands/Assert-VerifiableMock.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Assert-VerifiableMock [<CommonParameters>]

## DESCRIPTION

{{ Fill in the Description }}
\{\{ Fill in the Description \}\}

## EXAMPLES

Expand All @@ -41,7 +41,7 @@ Assert-VerifiableMock [<CommonParameters>]
PS C:\> {{ Add example code here }}
```

{{ Add example description here }}
\{\{ Add example description here \}\}

## PARAMETERS

Expand Down
4 changes: 2 additions & 2 deletions docs/commands/New-MockObject.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Accept wildcard characters: False
### -Properties
Properties to define, specified as a hashtable, in format @{ PropertyName = value }.
Properties to define, specified as a hashtable, in format `@{ PropertyName = value }`.

```yaml
Type: Hashtable
Expand All @@ -139,7 +139,7 @@ Accept wildcard characters: False

### -Methods

Methods to define, specified as a hashtable, in format @{ MethodName = scriptBlock }.
Methods to define, specified as a hashtable, in format `@{ MethodName = scriptBlock }`.

ScriptBlock can define param block, and it will receive arguments that were provided to the function call based on order.

Expand Down

0 comments on commit 3cec780

Please sign in to comment.