# Texts 01

Texts 01 on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

PSWriteHTML

Generate HTML reports, dashboards, and emails from PowerShell without writing HTML, CSS, or JavaScript.

[View on GitHub](https://github.com/EvotecIT/PSWriteHTML) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteHTML/releases/tag/v1.41.0) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteHTML)

Stars**1025**

Forks**115**

Open issues**0**

PowerShell Gallery downloads**7576901**

Release**v1.45.0**

Language: PowerShell Updated: 2026-11-19

Curated Examples

An example script from the PSWriteHTML repository.

- Source repository: [https://github.com/EvotecIT/PSWriteHTML](https://github.com/EvotecIT/PSWriteHTML)
- Example group: `Example-Texts`

```powershell
Import-Module .\PSWriteHTML.psd1 -Force

New-HTML -TitleText 'My title' -Online -FilePath $PSScriptRoot\Example-Texts01.html -Show {
    New-HTMLText -Text '[Link1](https://evotec.xyz) - Text Without Link 1 - [Link2](https://evotec.xyz) - Text Without Link 2 -', ' [Link2](https://evotec.xyz) SomeText'
    New-HTMLText -TextBlock {
        "[test](https://evotec.xyz) oh no [test](https://evotec.xyz) oh no"
        '[test](https://evotec.xyz) oh no'
        '[test](https://evotec.xyz) oh no [TextNotLink] and (LinkButNoText)'
    }
    New-HTMLList {
        New-HTMLListItem -Text '[Link1](https://evotec.xyz) - Text Without Link 1 - [Link2](https://evotec.xyz) - Text Without Link 2 -', ' [Link2](https://evotec.xyz) SomeText'
        New-HTMLListItem -Text '[Link1](https://evotec.xyz) - Text Without Link 1 - [Link2](https://evotec.xyz) - Text Without Link 2'
        New-HTMLListItem -Text '[Link2](https://evotec.xyz) SomeText'
        New-HTMLListItem -Text '[Link2](https://evotec.xyz) SomeText (TestingText in brackets) and more [more test in brackets] (and more)'
    }
    New-HTMLText -Text @(
        "This is a string with [SomeURL](https://evotec.xyz) and this isn't. "
        "This is more complicated [URL](https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn535495(v=ws.11)) with double () and it doesn't work properly "
        "More URLs in one line  [SomeURL](https://evotec.xyz) and and [SomeURL](https://evotec.xyz)."
    )
    # This doesn't work properly
    New-HTMLText -Text @(
        "This is a string with [SomeURL](https://evotec.xyz) and this isn't. "
        "This is more complicated [URL](https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn535495(v=ws.11)) with double () and it doesn't work properly "
        "More URLs in one line  [SomeURL](https://evotec.xyz) and and [SomeURL](https://evotec.xyz)."
    )

    New-HTMLText -Text @(
        'This is some text with HTML inside <a href="http://example.com/" target="_blank">Hello, world!</a>'
    )
    New-HTMLList {
        New-HTMLListItem -Text '[Link2](https://evotec.xyz) SomeText (TestingText in brackets) and more [more test in brackets] (and more)'
        New-HTMLListItem -Text 'Using standard link <a href="http://example.com/" target="_blank">Hello, world!</a>'
    }

    New-HTMLList {
        New-HTMLListItem -Text '[Link2](https://evotec.xyz) SomeText (TestingText in brackets) and more [more test in brackets] (and more)'
        New-HTMLListItem -Text 'Using standard link ', (New-HTMLLink -Text 'Hello World' -Target "_blank" -HrefLink 'https://evotec.xyz')
    }
}
```

<!-- PowerForge markdown artifact sha256:07BA70CFA6775F7052C61F247BF701838EB021F464C775E8E27C7B925550A0CF -->
