'Powershell convert plain text to html
I have some text in a text file like this:
Unit 1: abc
Unit 2: abc
And the list goes on an on to Unit 3,4,.. Is there any way to convert the content of this file to .html format? So that it would look like this (for example):
<p>Unit 1: abc</p>
<p></p>
<p>Unit 2: abc</p>
Googling hasn't really helped me on this one, thanks for your help!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
