@@ -88,7 +88,7 @@ headers, and the properties that are displayed in the body of the view. The
8888format in ` Format.ps1xml ` files is applied just before the data is presented to
8989the user.
9090
91- ## CREATING NEW FORMAT.PS1XML FILES
91+ ## Creating new Format.ps1xml files
9292
9393The ` .ps1xml ` files that are installed with PowerShell are digitally signed to
9494prevent tampering because the formatting can include script blocks. To change
@@ -292,7 +292,7 @@ the current PowerShell session.
292292
293293This example uses the ** PrependPath** parameter to place the new file in a
294294higher precedence order than the original file. For more information, see
295- [ Update-FormatData] ( xref:Microsoft.PowerShell.Utility.Update-FormatData ) .
295+ [ Update-FormatData] [ 03 ] .
296296
297297``` powershell
298298Update-FormatData -PrependPath .\MyDotNetTypes.Format.ps1xml
@@ -313,8 +313,8 @@ LCID Name Calendar DisplayName
313313
314314## The XML in Format.ps1xml files
315315
316- The full schema definition can be found in [ Format.xsd] ( https://github.com/ PowerShell/PowerShell/blob/master/src/Schemas/Format.xsd )
317- in the PowerShell source code repository on GitHub.
316+ The full schema definition can be found in [ Format.xsd] [ 04 ] in the PowerShell
317+ source code repository on GitHub.
318318
319319The ** ViewDefinitions** section of each ` Format.ps1xml ` file contains the
320320` <View> ` tags that define each view. A typical ` <View> ` tag includes the
@@ -379,13 +379,13 @@ that the `<ListControl>` tag is intended to display.
379379### WideControl tag
380380
381381The ` <WideControl> ` tag typically contains a ` <WideEntries> ` tag. The
382- ` <WideEntries> ` tag contains one or more ` <WideEntry> ` tags. A ` <WideEntry> ` tag
383- contains one ` <WideItem> ` tag.
382+ ` <WideEntries> ` tag contains one or more ` <WideEntry> ` tags. A ` <WideEntry> `
383+ tag contains one ` <WideItem> ` tag.
384384
385385A ` <WideItem> ` tag must include either a ` <PropertyName> ` tag or a
386- ` <ScriptBlock> ` tag. A ` <PropertyName> ` tag specifies the property to display at
387- the specified location in the view. A ` <ScriptBlock> ` tag specifies a script to
388- evaluate and display at the specified location in the view.
386+ ` <ScriptBlock> ` tag. A ` <PropertyName> ` tag specifies the property to display
387+ at the specified location in the view. A ` <ScriptBlock> ` tag specifies a script
388+ to evaluate and display at the specified location in the view.
389389
390390A ` <WideItem> ` tag can contain a ` <FormatString> ` tag that specifies how to
391391display the property.
@@ -399,7 +399,7 @@ multiple `<CustomEntry>` tags. Each `<CustomEntry>` tag contains a
399399formatting of the specified location in the view, including ` <Text> ` ,
400400` <Indentation> ` , ` <ExpressionBinding> ` , and ` <NewLine> ` tags.
401401
402- ## DEFAULT DISPLAYS IN TYPES.PS1XML
402+ ## Default displays in Types.ps1xml
403403
404404The default displays of some basic object types are defined in the
405405` Types.ps1xml ` file in the ` $PSHOME ` directory. The nodes are named
@@ -420,15 +420,12 @@ value of the **Name** parameter:
420420- FormatFileLoading
421421- FormatViewBinding
422422
423- For more information, see
424- [ Trace-Command] ( xref:Microsoft.PowerShell.Utility.Trace-Command ) and
425- [ Get-TraceSource] ( xref:Microsoft.PowerShell.Utility.Get-TraceSource ) .
423+ For more information, see [ Trace-Command] [ 05 ] and [ Get-TraceSource] [ 06 ] .
426424
427425## Signing a Format.ps1xml file
428426
429427To protect the users of your ` Format.ps1xml ` file, sign the file using a
430- digital signature. For more information, see
431- [ about_Signing] ( about_Signing.md ) .
428+ digital signature. For more information, see [ about_Signing] [ 07 ] .
432429
433430## Sample XML for a Format-Table custom view
434431
@@ -598,9 +595,10 @@ Update-FormatData -PrependPath .\MyFileSystem.Format.ps1xml
598595[ 01 ] : xref:Microsoft.PowerShell.Utility.Get-FormatData
599596[ 02 ] : xref:Microsoft.PowerShell.Utility.Export-FormatData
600597[ 03 ] : xref:Microsoft.PowerShell.Utility.Update-FormatData
601-
598+ [ 04 ] : https://github.com/PowerShell/PowerShell/blob/master/src/Schemas/Format.xsd
602599[ 05 ] : xref:Microsoft.PowerShell.Utility.Trace-Command
603600[ 06 ] : xref:Microsoft.PowerShell.Utility.Get-TraceSource
601+ [ 07 ] : about_Signing.md
604602[ 08 ] : xref:Microsoft.PowerShell.Utility.Format-Table
605603[ 09 ] : /powershell/scripting/developer/format/format-schema-xml-reference
606604[ 10 ] : /powershell/scripting/developer/format/writing-a-powershell-formatting-file
0 commit comments