Skip to content

sangafabrice/markdown-to-html-shortcut

Repository files navigation

MarkdownToHtmlShortcut

Module Version


Module Icon

Downloads

MarkdownToHtmlShortcut helps configure the Windows context menu shortcut that converts Markdown files to HTML files. The module packages functions to add and remove the shortcut on and from the right-click context menu of .md files. Note that it does not require administrators' privileges to run.

Requirements: Windows 10/11, Powershell Core.


Setup

Install the MarkdownToHtmlShortcut module from a PowerShell Core console:

Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
Install-Module MarkdownToHtmlShortcut

Configure the shortcut menu with the functions below.

Set-MarkdownToHtmlShortcut [<CommonParameters>]
Remove-MarkdownToHtmlShortcut [<CommonParameters>]


Convert to HTML shortcut