@@ -25,6 +25,7 @@ _To contribute, check out our [guide here](#contributing)._
25
25
| [ DateTimeWriteVerbose] ( #datetimewriteverbose ) | _ Write-Verbose with the time and date pre-pended to your message by @ThmsRynr_ |
26
26
| [ Error-Terminating] ( #error-terminating ) | _ Create a full terminating error by @omniomi_ |
27
27
| [ Exchange Online Connection] ( exchange-online-connection ) | _ Create a connection to Exchange Online by @vmsilvamolina_ |
28
+ | [ HTML header] ( #html-header ) | _ Add HTML header with the style tag by @vmsilvamolina_ |
28
29
| [ IfShouldProcess] ( #ifshouldprocess ) | _ Added If Should Process_ |
29
30
| [ MaxColumnLengthinDataTable] ( #maxcolumnlengthindatatable ) | _ Gets the max length of string columns in datatables_ |
30
31
| [ New Azure Resource Group] ( #new-azure-resource-group ) | _ Create an Azure Resource group by @vmsilvamolina_ |
@@ -178,6 +179,7 @@ Quickly add a fully defined error record and throw. by @omniomi
178
179
}
179
180
```
180
181
182
+
181
183
### Exchange Online Connection
182
184
183
185
Connect to Exchange Online, by @vmsilvamolina
@@ -200,6 +202,34 @@ Connect to Exchange Online, by @vmsilvamolina
200
202
}
201
203
```
202
204
205
+ ### HTML header
206
+
207
+ Add HTML header to a variable with the style tag (for css).
208
+
209
+ #### Snippet
210
+
211
+ ``` json
212
+ "HtML header" : {
213
+ "prefix" : " ex-AddHTMLheader" ,
214
+ "body" : [
215
+ " #HTML file and styles" ,
216
+ " \\ $htmlHeader = @\" " ,
217
+ " <!doctype html\" >" ,
218
+ " <html lang=\" e\" >" ,
219
+ " <head>" ,
220
+ " <meta charset=\" UTF-8\" >" ,
221
+ " <title>${1:Title}</title>" ,
222
+ " <style type=\" text/css\" >" ,
223
+ " body {" ,
224
+ " }" ,
225
+ " </style>" ,
226
+ " </head>" ,
227
+ " \" @"
228
+ ],
229
+ "description" : " Add HTML header section"
230
+ }
231
+ ```
232
+
203
233
### IfShouldProcess
204
234
205
235
Add If Should Process with easy tab inputs
0 commit comments