@@ -25,6 +25,7 @@ _To contribute, check out our [guide here](#contributing)._
2525| [ DateTimeWriteVerbose] ( #datetimewriteverbose ) | _ Write-Verbose with the time and date pre-pended to your message by @ThmsRynr_ |
2626| [ Error-Terminating] ( #error-terminating ) | _ Create a full terminating error by @omniomi_ |
2727| [ 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_ |
2829| [ IfShouldProcess] ( #ifshouldprocess ) | _ Added If Should Process_ |
2930| [ MaxColumnLengthinDataTable] ( #maxcolumnlengthindatatable ) | _ Gets the max length of string columns in datatables_ |
3031| [ 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
178179}
179180```
180181
182+
181183### Exchange Online Connection
182184
183185Connect to Exchange Online, by @vmsilvamolina
@@ -200,6 +202,34 @@ Connect to Exchange Online, by @vmsilvamolina
200202}
201203```
202204
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+
203233### IfShouldProcess
204234
205235Add If Should Process with easy tab inputs
0 commit comments