Skip to content

Commit c1b643e

Browse files
st0leTylerLeonhardt
authored andcommitted
Added Columns, Improved readability for ToC. (#1307)
* Improved readability. * Fixed anchor link for assert-mock * Fixed the missed instances. Fixed the missed instances.
1 parent 8ca1677 commit c1b643e

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

docs/community_snippets.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ _To contribute, check out our [guide here](#contributing)._
1414

1515
## Table of contents
1616

17-
| Table of Contents |
18-
|:------------------|
19-
| [AssertMock](#assert_mock): _Creates assert mock Pester test_ |
20-
| [AWSRegionDynamicParameter](#awsregiondynamicparameter): _Creates a dynamic parameter of current AWS regions by @jbruett_ |
21-
| [CalculatedProperty](#calculatedproperty): _Create a calculated property for use in a select-object call by @corbob_ |
22-
| [DataTable](#datatable): _Creates a DataTable_ |
23-
| [DateTimeWriteVerbose](#datetimewriteverbose): _Write-Verbose with the time and date pre-pended to your message by @ThmsRynr_ |
24-
| [Error-Terminating](#error-terminating): _Create a full terminating error by @omniomi_ |
25-
| [IfShouldProcess](#ifshouldprocess): _Added If Should Process_ |
26-
| [MaxColumnLengthinDataTable](#maxcolumnlengthindatatable): _Gets the max length of string columns in datatables_ |
27-
| [Parameter-Credential](#parameter-credential): _Add a standard credential parameter to your function by @omniomi_ |
28-
| [PesterTestForMandatoryParameter](#pestertestformandatoryparameter): _Create Pester test for a mandatory parameter_ |
29-
| [PesterTestForParameter](#pestertestforparameter): _Create Pester test for parameter_ |
30-
| [PSCustomObject](#pscustomobject): _A simple PSCustomObject by @brettmillerb_ |
17+
| Snippet name | Description |
18+
| --------- | ---------|
19+
| [AssertMock](#assert-mock) | _Creates assert mock Pester test_ |
20+
| [AWSRegionDynamicParameter](#awsregiondynamicparameter) | _Creates a dynamic parameter of current AWS regions by @jbruett_ |
21+
| [CalculatedProperty](#calculatedproperty) | _Create a calculated property for use in a select-object call by @corbob_ |
22+
| [DataTable](#datatable) | _Creates a DataTable_ |
23+
| [DateTimeWriteVerbose](#datetimewriteverbose) | _Write-Verbose with the time and date pre-pended to your message by @ThmsRynr_ |
24+
| [Error-Terminating](#error-terminating) | _Create a full terminating error by @omniomi_ |
25+
| [IfShouldProcess](#ifshouldprocess) | _Added If Should Process_ |
26+
| [MaxColumnLengthinDataTable](#maxcolumnlengthindatatable) | _Gets the max length of string columns in datatables_ |
27+
| [Parameter-Credential](#parameter-credential) | _Add a standard credential parameter to your function by @omniomi_ |
28+
| [PesterTestForMandatoryParameter](#pestertestformandatoryparameter) | _Create Pester test for a mandatory parameter_ |
29+
| [PesterTestForParameter](#pestertestforparameter) | _Create Pester test for parameter_ |
30+
| [PSCustomObject](#pscustomobject) | _A simple PSCustomObject by @brettmillerb_ |
3131

3232
## Snippets
3333

@@ -302,20 +302,20 @@ You need to add an item to the table of contents. The addition should follow the
302302
The ToC item template looks like this:
303303

304304
```md
305-
| [Name of snippet](link to header of your snippet): _some short description_ |
305+
| [Name of snippet](link to header of your snippet) | _some short description_ |
306306
```
307307

308308
An example looks like this (NOTE: all lowercase link):
309309

310310
```md
311-
| [PSCustomObject](#pscustomobject): _A simple PSCustomObject_ |
311+
| [PSCustomObject](#pscustomobject) | _A simple PSCustomObject_ |
312312
```
313313

314314
which will show up in the ToC like this:
315315

316-
| Table of Contents |
317-
|:------------------|
318-
| [PSCustomObject](#pscustomobject): _A simple PSCustomObject_ |
316+
| Snippet Name | Description |
317+
|--------- | ---------|
318+
| [PSCustomObject](#pscustomobject) | _A simple PSCustomObject_ |
319319

320320
### Body
321321

0 commit comments

Comments
 (0)