Powershell-like box in a WordPress post

This is for you, Phil. 🙂

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\username> This is some text.

Some notes:

Powershell RGB values: R = 1, G = 36, B = 86.
Powershell Hex color code: #012456

To get the Powershell-esque window in WordPress, use this code (don’t forget to replace ! with code arrows). Copy, add arrows, paste using the “text” tab at the top of the post, switch back to visual tab, and edit away.

!pre style=”background-color: #012456; margin-left: 18px; padding: 12px;”>Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\username> This is some text.</pre!

Leave a Reply

Your email address will not be published. Required fields are marked *

10 − 9 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.