Skip to content

Commit ebdff90

Browse files
authored
Add collapsible sections in Installation section
1 parent bf143a6 commit ebdff90

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010

1111
There are 4 parts to configure; all of them are optional:
1212

13-
**Colors Installation**
13+
14+
<details><summary><strong>Colors Installation</strong></summary>
15+
<p>
1416

1517
1. [Download and unzip](https://raw.githubusercontent.com/waf/dracula-cmd/master/dist/ColorTool.zip) ColorTool. The [source code](https://github.com/Microsoft/Terminal/tree/master/src/tools/ColorTool) is available from Microsoft.
1618
1. Open PowerShell, navigate to unzipped `ColorTool` directory, and run `install.cmd`.
@@ -19,7 +21,11 @@ There are 4 parts to configure; all of them are optional:
1921

2022
For cmd.exe support, perform the same steps above but in a cmd.exe window.
2123

22-
**PowerShell prompt**
24+
</p>
25+
</details>
26+
27+
<details><summary><strong>PowerShell prompt</strong></summary>
28+
<p>
2329

2430
1. Install the 1.0 version of posh-git.
2531
- It's currently prerelease, so you'll need to install it with `Install-Module -Name posh-git -AllowPrerelease -Force`
@@ -28,14 +34,25 @@ For cmd.exe support, perform the same steps above but in a cmd.exe window.
2834
- You can verify that 2.0 was installed by running `(Get-Module PSReadLine).Version`. If the installation does not appear to work, please see [this issue in PSReadLine](https://github.com/PowerShell/PowerShellGet/issues/318#issuecomment-418605987)
2935
1. Include [this powershell configuration](https://github.com/dracula/powershell/blob/master/theme/dracula-prompt-configuration.ps1) in your PowerShell `$profile` file.<sup>[1](#whats-the-powershell-profile-file "What's the PowerShell `$profile` file?")</sup>
3036

31-
**cmd.exe prompt**
37+
</p>
38+
</details>
39+
40+
<details><summary><strong>cmd.exe prompt</strong></summary>
41+
<p>
3242

3343
Set the environment variable `prompt` to `$E[1;32;40m→ $E[1;36;40m$p$E[1;35;40m› $E[1;37;40m`
3444

35-
**Titlebar color**
45+
</p>
46+
</details>
47+
48+
<details><summary><strong>Titlebar color</strong></summary>
49+
<p>
3650

3751
In Windows 10, the titlebar color can be set system-wide in Settings → Personalization → Colors → Custom color → More → #262835.
3852

53+
</p>
54+
</details>
55+
3956
## Frequently Asked Questions
4057

4158
**What's the PowerShell `$profile` file?**

0 commit comments

Comments
 (0)