Docusaurus.Powershell
Docusaurus.Powershell copied to clipboard
Move powershell code block monicker to PlatyPS
Because PlatyPS does not add the powershell syntax highlighting language to code blocks we are currently adding the monicker ourselves during the markdown-to-mdx transformation, see https://github.com/alt3/Docusaurus.Powershell/blob/master/Source/Private/UpdateContentCodeBlocks.ps1
Ideally... a PR should be made to update PlatyPS so we can drop this step. Green light given by the repo owner, just needs to be done (see https://github.com/PowerShell/platyPS/issues/475#issuecomment-542586573). Additional background info at https://github.com/PowerShell/platyPS/issues/294
Additional info:
- https://github.com/PowerShell/platyPS/issues/294
- https://github.com/PowerShell/platyPS/issues/475#issuecomment-542586573