Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

The example above demonstrates how the macro "Prism command line highlighter (PowerShell)" renders a PowerShell command line including the (input) command and the corresponding output.

Macro content used to render the command line above:

Confluence prism macro
languagenone
Get-Location
(out)
(out)Path
(out)----
(out)C:\Temp
(out)
Get-ChildItem
(out)
(out)    Directory: C:\Temp
(out)
(out)Mode            LastWriteTime    Length Name
(out)----            -------------    ------ ----
(out)d-----    2/26/2022  12:00 PM           New folder
(out)-a----    2/26/2022  12:00 PM        22 New Compressed Folder.zip
(out)-a----    2/26/2022  12:00 PM         0 New Microsoft Word Doc.docx
(out)-a----    2/26/2022  12:00 PM         0 New Text Document.txt