# Doc helper docsify extends Markdown syntax to make your documents more readable. ## important content Important content like: ```markdown !> **Time** is money, my friend! ``` is rendered as: !> **Time** is money, my friend! ## General tips General tips like: ```markdown ?> _TODO_ unit test ``` are rendered as: ?> _TODO_ unit test ## Ignore to compile link Some time we will put some other relative path to the link, you have to need to tell docsify you don't need to compile this link. For example ```md [link](/demo/) ``` It will be compiled to `link` and will be loaded `/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 title for link. ```md [link](/demo/ ':ignore title') link ``` ## Set target attribute for link ```md [link](/demo ':target=_blank') [link](/demo2 ':target=_self') ``` ## Disable link ```md [link](/demo ':disabled') ``` ## Github Task Lists ```md - [ ] foo - bar - [x] baz - [] bam <~ not working - [ ] bim - [ ] lim ``` - [ ] foo - bar - [x] baz - [] bam <~ not working - [ ] bim - [ ] lim ## Image resizing ```md ![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%') ## Customise ID for headings ```md ### 你好,世界! :id=hello-world ``` ## Markdown in html tag 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
Or markdown content can be wrapped in html tag. ```markdown
- listitem - listitem - listitem
```
- Abc - Abc