Skip to content

Commit

Permalink
Update Discuss README
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Mar 6, 2021
1 parent aef4214 commit 6ad2e46
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions flarum-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ composer require flarumite/simple-spoilers:"*"
To update:

```sh
composer update flarumite/simple-spoilers
composer update flarumite/simple-spoilers:"*"
php flarum cache:clear
```

Expand All @@ -42,7 +42,6 @@ Spoilers are available in two versions: normal and customised title. The normal

#### Normal spoiler

[spoiler]
![](https://github.com/flarumite/simple-spoilers/blob/main/docs/normal.gif?raw=true)

```md
Expand All @@ -51,11 +50,8 @@ Some content
[/spoiler]
```

[/spoiler]

#### Spoiler with custom title

[spoiler]
![](https://github.com/flarumite/simple-spoilers/blob/main/docs/custom-title.gif?raw=true)

```md
Expand All @@ -64,13 +60,10 @@ Some content
[/spoiler]
```

[/spoiler]

#### Spoiler-ception!

Putting spoilers inside spoilers even works!

[spoiler]
![](https://github.com/flarumite/simple-spoilers/blob/main/docs/embedded.png?raw=true)

```md
Expand All @@ -88,10 +81,8 @@ embedded
[/spoiler]
```

[/spoiler]

### Links

- [Packagist](https://packagist.org/packages/flarumite/simple-spoilers)
- [GitHub](https://github.com/flarumite/simple-spoilers)
- [Discuss](https://discuss.flarum.org/d/26366-flarumite-simple-spoilers-pure-html5-and-css)
- [Discuss](https://github.com/flarumite/simple-spoilers)

0 comments on commit 6ad2e46

Please sign in to comment.