mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
Added include doc
This commit is contained in:
parent
f3456d819c
commit
7b284eb13f
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
|
@ -98,6 +98,17 @@ You can (if you're logged in) upload files, including images, using the **Upload
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## Includes
|
||||||
|
You can include pages into the current page youre working on. To do so, you can add a include link:
|
||||||
|
|
||||||
|
`&[:indent-heading s/Num :indent-list s/Num](relative or absolute uri s/Str)`
|
||||||
|
|
||||||
|
Parameters semantics:
|
||||||
|
* uri: The page to include. At the moment only pages of the current wiki are allowed. A page called "PageToBeIncluded" will result in a uri "PageToBeIncluded.md".
|
||||||
|
* indent-heading: You can indent headings of included page to adjust the included content to your surrounding structure. Indents 0-9 are supported.
|
||||||
|
* indent-list: In Same manner you can indent lists of included page to adjust the included content to your surrounding structure. Indents 0-9 are supported.
|
||||||
|
Security warning: At the moment there is no check against directory traversal attack. So include feature may expose files outside of your wiki.
|
||||||
|
|
||||||
## Advertisement
|
## Advertisement
|
||||||
If you like what you see here, I am available for work on open source Clojure projects.
|
If you like what you see here, I am available for work on open source Clojure projects.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue