Docusaurus.Powershell icon indicating copy to clipboard operation
Docusaurus.Powershell copied to clipboard

Move powershell code block monicker to PlatyPS

Open bravo-kernel opened this issue 6 years ago • 1 comments

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

bravo-kernel avatar Oct 29 '19 07:10 bravo-kernel

Additional info:

  • https://github.com/PowerShell/platyPS/issues/294
  • https://github.com/PowerShell/platyPS/issues/475#issuecomment-542586573

bravo-kernel avatar Jun 25 '22 11:06 bravo-kernel