summaryrefslogtreecommitdiffstats
path: root/Editor.md
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-05-21 15:49:05 +0200
committerThomas Lange <code@nerdmind.de>2021-05-21 15:49:05 +0200
commit923a14c764a7f5939f74bd284b7d1f92df781ca2 (patch)
treeb19373dc89f9e1e20cb184cfabf5c770d41c42c9 /Editor.md
parentd7fa3b949171785c8efb130cd2e90daf33f02c1a (diff)
downloadwiki-923a14c764a7f5939f74bd284b7d1f92df781ca2.tar.gz
wiki-923a14c764a7f5939f74bd284b7d1f92df781ca2.tar.xz
wiki-923a14c764a7f5939f74bd284b7d1f92df781ca2.zip
Optimize text
Diffstat (limited to 'Editor.md')
-rw-r--r--Editor.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/Editor.md b/Editor.md
index 51e6061..3659d7f 100644
--- a/Editor.md
+++ b/Editor.md
@@ -1,9 +1,9 @@
-If you wanna link an item of your blog application, please don't put the absolute URL hardcoded into the content editor. What if you want to change your sites address (or just the base directory) in the future? You would have to change all the hardcoded links in your content. This is not cool! Thus, you can use the following special syntax within the content editor to link any resource of your installation dynamically.
+If you wanna link an item of your blog application, please don't put the absolute URL hardcoded into the content editor. What if you want to change your blogs address (or just the base directory) in the future? You would have to change all the hardcoded links in your content. This is not cool! Therefore, you can use the following special syntax within the content editor to link any resource of your installation dynamically.
-**Note:** You can combine these codes with markdown syntax because the special codes are processed before the markdown parser starts. The markdown parser will never see the original syntax of this special codes, but rather the result (an absolute URL) of those.
+**Note:** You can combine these codes with markdown syntax because the special codes are processed before the markdown parser walks through the content. The markdown parser will never see the original syntax of this special codes, but rather the result (an absolute URL) of those.
## Dynamic linking of resources
-You can link resources which are located anywhere within your installation dynamically, either relative to your base directory or relative to your `rsrc` directory where you store your content like images and other files (this is the preferred method to include an image within your items content):
+You can link resources which are located anywhere within your installation dynamically, either relative to your base directory or relative to your `rsrc` directory where you store your files like images and other stuff (this is the preferred method to include an image within your items content):
* Write `{BASE["other/directory/"]}` into the editor and get:
`https://hostname/other/directory/`
@@ -15,7 +15,7 @@ You can link resources which are located anywhere within your installation dynam
`<img src="https://hostname/rsrc/image/foobar.jpg" alt="A foobar image" />`
## Dynamic linking of pages, posts and users
-You have to know the unique ID of the item which you can find in the administration area, so that the system can identify it and replace the code with the items URL (if you put an ID into the syntax which does not exists, the output in your HTML will be just `{undefined}`):
+You have to know the unique ID of the item which you can find in the administration area, so that the system can identify it and replace the code with the items URL (if you put an ID into the syntax which does not exist, the output in your HTML will be just `{undefined}`):
* Write `{PAGE[123]}` into the editor and get:
`https://hostname/page/page-with-id-123/`