# Doc helper docsify extends Markdown syntax to make your documents more readable. > Note: For the special code syntax cases, it's better to put them within code backticks to avoid any conflict from configurations or emojis. ## Callouts ### Important content Important content like: ```markdown !> **Time** is money, my friend! ``` is rendered as: !> **Time** is money, my friend! ### Tips General tips like: ```markdown ?> _TODO_ unit test ``` are rendered as: ?> _TODO_ unit test ## Link attributes ### disabled ```md [link](/demo ':disabled') ``` ### href Sometimes we will use some other relative path for the link, and we have to tell docsify that we don't need to compile this link. For example: ```md [link](/demo/) ``` It will be compiled to `link` and will load `/demo/README.md`. Maybe you want to jump to `/demo/index.html`. Now you can do that ```md [link](/demo/ ':ignore') ``` You will get `link`html. Do not worry, you can still set the title for the link. ```md [link](/demo/ ':ignore title') link ``` ### target ```md [link](/demo ':target=_blank') [link](/demo2 ':target=_self') ``` ## Task lists ```md - [ ] foo - bar - [x] baz - [] bam <~ not working - [ ] bim - [ ] lim ``` - [ ] foo - bar - [x] baz - [] bam <~ not working - [ ] bim - [ ] lim ## Images ### Class names ```md ![logo](https://docsify.js.org/_media/icon.svg ':class=someCssClass') ``` ### IDs ```md ![logo](https://docsify.js.org/_media/icon.svg ':id=someCssId') ``` ### Sizes ```md ![logo](https://docsify.js.org/_media/icon.svg ':size=WIDTHxHEIGHT') ![logo](https://docsify.js.org/_media/icon.svg ':size=50x100') ![logo](https://docsify.js.org/_media/icon.svg ':size=100') ![logo](https://docsify.js.org/_media/icon.svg ':size=10%') ``` ![logo](https://docsify.js.org/_media/icon.svg ':size=50x100') ![logo](https://docsify.js.org/_media/icon.svg ':size=100') ![logo](https://docsify.js.org/_media/icon.svg ':size=10%') ## Heading IDs ```md ### Hello, world! :id=hello-world ``` ## Markdown + HTML You need to insert a space between the html and markdown content. This is useful for rendering markdown content in the details element. ```markdown
Self-assessment (Click to expand) - Abc - Abc
```
Self-assessment (Click to expand) - Abc - Abc
Markdown content can also be wrapped in html tags. ```markdown
- listitem - listitem - listitem
```
- listitem - listitem - listitem