diff options
author | Thomas Lange <code@nerdmind.de> | 2024-11-21 21:42:20 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2024-11-21 21:42:20 +0100 |
commit | d5e6e5d81d2ca2758b9bec3e819640831ace65ff (patch) | |
tree | 482a0825d6fd9bc49d705bf45a26583eba151b0e /Editor.md | |
parent | 3feb79d4fa2982d7379e5ba8b1d56f9ad68d0752 (diff) | |
download | wiki-d5e6e5d81d2ca2758b9bec3e819640831ace65ff.tar.gz wiki-d5e6e5d81d2ca2758b9bec3e819640831ace65ff.tar.xz wiki-d5e6e5d81d2ca2758b9bec3e819640831ace65ff.zip |
Update documentation
Diffstat (limited to 'Editor.md')
-rw-r--r-- | Editor.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ If you want to reference another item (e.g. a post or a category) in your conten **Note:** You can combine these functions with Markdown syntax since they are processed and transformed before the Markdown parser finally transforms the content to HTML. There is even the possibility [to add your own custom functions](Content_Functions#how-to-add-custom-functions). ## Relative URLs -You can link any resource (e.g. a file) which is located anywhere within your document root dynamically, either relative to your base directory (the installation directory) or relative to the `rsrc` directory where you store your files, images and other stuff. The `BASE_URL` and `FILE_URL` functions will return the pure plain text URL (extended by the first argument). +You can link any resource (e.g. a file) which is located anywhere within your document root dynamically, either relative to your base directory (the installation directory) or relative to the `static` directory where you store your files, images and other stuff. The `BASE_URL` and `FILE_URL` functions will return the pure plain text URL (extended by the first argument). ### Example #1 ~~~markdown @@ -24,11 +24,11 @@ Hello there. Check out <a href="https://blog.git/readme.md">the README</a>! ~~~ ~~~markdown <!-- Result after the functions were transformed: --> -![A cute kitten](https://blog.git/rsrc/image/content/kitten.jpg "Look at this!") +![A cute kitten](https://blog.git/static/image/content/kitten.jpg "Look at this!") ~~~ ~~~html <!-- Final result after the Markdown was transformed: --> -<img src="https://blog.git/rsrc/image/content/kitten.jpg" alt="A cute kitten" title="Look at this!" /> +<img src="https://blog.git/static/image/content/kitten.jpg" alt="A cute kitten" title="Look at this!" /> ~~~ ## Linking items in your content (categories, pages, posts and users) |