Skip to content

Commit 4d8b1e7

Browse files
StartAutomatingStartAutomating
authored andcommitted
Join-PipeScript: Improving Unnamed end block behavior (Fixes #363)
1 parent 03036d0 commit 4d8b1e7

1 file changed

Lines changed: 32 additions & 20 deletions

File tree

docs/Markdown.Template.md

Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
Markdown.Template
22
-----------------
3+
4+
5+
6+
37
### Synopsis
48
Markdown Template Transpiler.
59

10+
11+
612
---
13+
14+
715
### Description
816

917
Allows PipeScript to generate Markdown.
@@ -14,7 +22,11 @@ PipeScript can be included in a Markdown code block that has the Language ```Pip
1422

1523
In Markdown, PipeScript can also be specified as the language using any two of the following characters ```.<>```
1624

25+
26+
1727
---
28+
29+
1830
### Examples
1931
#### EXAMPLE 1
2032
```PowerShell
@@ -40,82 +52,82 @@ In Markdown, PipeScript can also be specified as the language using any two of t
4052
}
4153

4254
.> .\HelloWorld.ps1.md
55+
56+
4357
---
58+
59+
4460
### Parameters
4561
#### **CommandInfo**
4662

4763
The command information. This will include the path to the file.
4864

4965

5066

51-
> **Type**: ```[CommandInfo]```
5267

53-
> **Required**: true
5468

55-
> **Position**: named
5669

57-
> **PipelineInput**:true (ByValue)
70+
|Type |Required|Position|PipelineInput |
71+
|---------------|--------|--------|--------------|
72+
|`[CommandInfo]`|true |named |true (ByValue)|
5873

5974

6075

61-
---
6276
#### **AsTemplateObject**
6377

6478
If set, will return the information required to dynamically apply this template to any text.
6579

6680

6781

68-
> **Type**: ```[Switch]```
6982

70-
> **Required**: true
7183

72-
> **Position**: named
7384

74-
> **PipelineInput**:false
85+
|Type |Required|Position|PipelineInput|
86+
|----------|--------|--------|-------------|
87+
|`[Switch]`|true |named |false |
7588

7689

7790

78-
---
7991
#### **Parameter**
8092

8193
A dictionary of parameters.
8294

8395

8496

85-
> **Type**: ```[IDictionary]```
8697

87-
> **Required**: false
8898

89-
> **Position**: named
9099

91-
> **PipelineInput**:false
100+
|Type |Required|Position|PipelineInput|
101+
|---------------|--------|--------|-------------|
102+
|`[IDictionary]`|false |named |false |
92103

93104

94105

95-
---
96106
#### **ArgumentList**
97107

98108
A list of arguments.
99109

100110

101111

102-
> **Type**: ```[PSObject[]]```
103112

104-
> **Required**: false
105113

106-
> **Position**: named
107114

108-
> **PipelineInput**:false
115+
|Type |Required|Position|PipelineInput|
116+
|--------------|--------|--------|-------------|
117+
|`[PSObject[]]`|false |named |false |
118+
119+
109120

110121

111122

112123
---
124+
125+
113126
### Syntax
114127
```PowerShell
115128
Markdown.Template -CommandInfo <CommandInfo> [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
116129
```
117130
```PowerShell
118131
Markdown.Template -AsTemplateObject [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
119132
```
120-
---
121133

0 commit comments

Comments
 (0)