Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ee38c95

Browse files
Update README.md
1 parent adead4c commit ee38c95

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

docs/README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ $ git clone https://github.com/MichaelCurrin/docsify-js-tutorial.git
160160
?> **Note** When viewing the site, if you scroll down far enough you will see a hamburger menu which lets you dynamically open or close the sidebar. This is always visible on mobile view but not so easy to find, while the sidebar starts out closed on mobile.
161161

162162

163-
164163
## Setup your own docs site
165164
> Convert your docs directory into a docs site
166165
@@ -296,23 +295,20 @@ A background image should come _after_ the buttons in your file, as _Docsify_ lo
296295

297296
Examples:
298297

299-
- Load an image file
298+
- Load an image file. The label can be anything.
300299
```markdown
301300
<!-- background image -->
302301

303-
![background image](_media/bg.png)
302+
![cover background image](_media/cover-bg.jpg)
304303
```
305-
- Solid color
304+
- Solid color. The label **must** be `color`.
306305
```markdown
307306
<!-- background color -->
308307

309308
![color](#f0f0f0)
310309
```
311-
- Gradient color
312-
```markdown
313-
314-
![gradient](linear-gradient(to left bottom, hsl(202.6, 55.5%, 58.6%) 0%,hsl(0, 0%, 100%) 100%))
315-
```
310+
- Gradient color - this used to be support but does not work anymore.
311+
316312

317313
#### Cover logo
318314

0 commit comments

Comments
 (0)