{"repo":"PoshWeb/MarkX","free":true,"listed":false,"github":"https://github.com/PoshWeb/MarkX","clone":"git clone https://github.com/PoshWeb/MarkX.git","description":"MarkX - Markdown, XML, and PowerShell","language":"PowerShell","stars":11,"topics":["markdown","powershell","powershell-module","xml"],"license":"MIT","category":"productivity","readme_excerpt":"Hello World Greetings from MarkX! What Is MarkX? MarkX is a useful little tool built around a useful little trick. Markdown is text that turns into nicely balanced and escaped HTML. We can put that HTML into any and treat it as . This lets us query and manipulate markdown, giving us the best of both worlds. It's easy to write text, and an easy to read document tree. Installing and Importing You can install MarkX from the PowerShell Gallery, using Install-Module : PowerShell Install-Module MarkX Once install, you can import it with Import-Module PowerShell Import-Module MarkX Getting Started Let's start simple, by making some markdown: PowerShell \"# Hello World\" MarkX When we run this, we should see two properties: Markdown and XML. Whenever we change the Markdown, everything else is updated. Getting Links Let's see how this can be useful, by getting some links. PowerShell $markXLinks = \" My Website\", \" GitHub\", \" BlueSky\" markx @($markXLinks.Links.Href ForEach-Object { \" $($ )\" }) -join [Environment]::NewLine When we run this, we get: https://MrPowerShell.com/ https://github.com/StartAutomating https://bsky.app/profile/mrpowershell.com Getting Images Let's see how this can be fun, by getting some images. PowerShell $markXImages = \" \", \" \" markx @( $markXImages $markXImages.Images ForEach-Object { \" $($ .alt))\" } ) -join [Environment]::NewLine When we run this, we get: Mind Blown Stranger Things Mind Blown Big Mouth Making Tables Let's make some tables PowerShell $timesTable =","default_branch":null,"files":null,"tree":[],"storefront":"/r/PoshWeb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PoshWeb/MarkX/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}