Skip to content
This repository was archived by the owner on Feb 16, 2021. It is now read-only.

Commit b7a46ba

Browse files
alirobeJanDeDobbeleer
authored andcommitted
Remove collapsing sections from readme
Improves readability and accessibility for dumb windows users like me
1 parent 4b5696a commit b7a46ba

File tree

1 file changed

+11
-35
lines changed

1 file changed

+11
-35
lines changed

README.md

+11-35
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ oh-my-posh
1212
* [Helper functions](#helper)
1313
* [Themes](#themes)
1414

15-
<div id='about'/>
16-
17-
### About
15+
## About
1816

1917
A theme engine for Powershell in ConEmu inspired by the work done by Chris Benti on [PS-Config](https://github.com/chrisbenti/PS-Config). And [Oh-My-ZSH](https://github.com/robbyrussell/oh-my-zsh) on OSX and Linux (hence the name)
2018
More information about why I made this can be found on my [blog](https://herebedragons.io/shell-shock/).
@@ -34,11 +32,9 @@ Features:
3432
* Separate settings for oh-my-posh and posh-git
3533
* Does not mess with the default Powershell console
3634

37-
<div id='prerequisites'/>
38-
<details>
39-
<summary>Prerequisites</summary>
35+
## Prerequisites
4036

41-
You should use ConEmu to have a brilliant terminal experience on Windows. You can install it using [Chocolatey](https://chocolatey.org/) :
37+
You should use ConEmu to have a brilliant terminal experience on Windows. You can install it using [Chocolatey](https://chocolatey.org/):
4238

4339
```bash
4440
choco install ConEmu
@@ -47,11 +43,7 @@ choco install ConEmu
4743
The fonts I use are Powerline fonts, there is a great [repository](https://github.com/ryanoasis/nerd-fonts) containing them.
4844
I use `Meslo LG M Regular for Powerline Nerd Font` in my ConEmu setup together with custom colors You can find my theme [here](https://gist.github.com/JanJoris/71c9f1361a562f337b855b75d7bbfd28).
4945

50-
</details>
51-
52-
<div id='installation'/>
53-
<details>
54-
<summary>Installation</summary>
46+
## Installation
5547

5648
You need to use the the [PowerShell Gallery](https://www.powershellgallery.com/packages/oh-my-posh/) to install oh-my-posh.
5749

@@ -62,19 +54,15 @@ Install-Module posh-git -Scope CurrentUser
6254
Install-Module oh-my-posh -Scope CurrentUser
6355
```
6456

65-
</details>
66-
67-
<div id='configuration'/>
68-
<details>
69-
<summary>Configuration</summary>
57+
## Configuration
7058

7159
List the current configuration:
7260

7361
```bash
7462
$ThemeSettings
7563
```
7664

77-
![Theme](http://janjoris.github.com/img/themesettings.png)
65+
![Theme](https://herebedragons.io/img/themesettings.png)
7866

7967
You can tweak the settings by manipulating `$ThemeSettings`.
8068
This example allows you to tweak the branch symbol using a unicode character:
@@ -89,11 +77,7 @@ Also do not forget the Posh-Git settings itself (enable the stash indication for
8977
$GitPromptSettings
9078
```
9179

92-
</details>
93-
94-
<div id='helper'/>
95-
<details>
96-
<summary>Helper functions</summary>
80+
## Helper functions
9781

9882
`Set-Theme`: set a theme from the Themes directory. If no match is found, it will not be changed. Autocomplete is available to list and complete available themes.
9983

@@ -103,17 +87,13 @@ Set-Theme paradox
10387

10488
`Show-ThemeColors`: display the colors used by the theme
10589

106-
![Theme](http://janjoris.github.com/img/themecolors.png)
90+
![Theme](https://herebedragons.io/img/themecolors.png)
10791

10892
`Show-Colors`: display colors configured in ConEmu
10993

110-
![Theme](http://janjoris.github.com/img/showcolors.png)
111-
112-
</details>
94+
![Theme](https://herebedragons.io/img/showcolors.png)
11395

114-
<div id='themes'/>
115-
<details>
116-
<summary>Themes</summary>
96+
## Themes
11797

11898
### Agnoster
11999

@@ -143,9 +123,7 @@ Set-Theme paradox
143123

144124
![Theme](https://herebedragons.io/img/fish.png)
145125

146-
<div id='owntheme'/>
147-
Creating your own theme
148-
-----------------------
126+
## Creating your own theme
149127

150128
If you want to create a theme it can be done rather easily by adding a `mytheme.psm1` file in the folder indicated in `$ThemeSettings.MyThemesLocation` (the folder defaults to `~\Documents\WindowsPowerShell\PoshThemes`, feel free to change it).
151129
The only required function is Write-Theme, you can use the following template to get started:
@@ -179,8 +157,6 @@ If you want to include your theme in oh-my-posh, send me a PR and I'll try to gi
179157

180158
Happy theming!
181159

182-
</details>
183-
184160
### Based on work by
185161

186162
* [Chris Benti](https://github.com/chrisbenti/PS-Config)

0 commit comments

Comments
 (0)