Skip to content

Commit b4bd94d

Browse files
Clean up examples
1 parent 9836034 commit b4bd94d

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Modules/FileContentDsc/Examples/Resources/ReplaceText/1-ReplaceText_ReplacePlainText.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<#
22
.EXAMPLE
3-
Set all occrurances of the string '%appname%' to be 'Awesome App'
4-
in the file 'c:\inetpub\wwwroot\default.htm'.
3+
Set all occrurances of the string `%appname%` to be Awesome App`
4+
in the file `c:\inetpub\wwwroot\default.htm`.
55
#>
66
Configuration Example
77
{

Modules/FileContentDsc/Examples/Resources/ReplaceText/2-ReplaceText_ReplaceRegexText.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<#
22
.EXAMPLE
33
Set all occrurances of a string matching the regular expression
4-
"<img src=['`"][a-zA-Z0-9.]*['`"]>" with the text '<img src="imgs/placeholder.jpg">'
5-
in the file 'c:\inetpub\wwwroot\default.htm'
4+
`<img src=['`"][a-zA-Z0-9.]*['`"]>` with the text `<img src="imgs/placeholder.jpg">`
5+
in the file `c:\inetpub\wwwroot\default.htm`
66
#>
77
Configuration Example
88
{

Modules/FileContentDsc/Examples/Resources/ReplaceText/3-ReplaceText_ReplacePlainSecretText.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<#
22
.EXAMPLE
3-
Set all occrurances of the string '%secret%' to be the value in
3+
Set all occrurances of the string `%secret%` to be the value in
44
the password set in the parameter $Secret PSCredential object
5-
in the file 'c:\inetpub\wwwroot\default.htm'.
5+
in the file `c:\inetpub\wwwroot\default.htm`.
66
#>
77
Configuration Example
88
{

0 commit comments

Comments
 (0)