Hi, I have a multilingual site (af | en).
There will always be a locahost development site and a production site.
The problem is with multilanguage URL rewriting eg. http://mysite/en and http://mysite/af (which is good and is what I want) where stable links in markdown text becomes mangled eg. http://mysite/en that becomes http://mysite/en/af
An explanation of what happens:
A link on an Afrikaans page in Markdown will be [mylink](/af/mypage) but this becomes http://mysite/af/af/mypage
Now if something like this existed, it would solve my problems: [mylink](%base_url%/af/mypage)
Yes, I can enter the full URL in markdown [linktext](http://mysite/af/mypage) but then my localhost site becomes painful to use and debug.
Yes, I searched and I spent a long time searching for something like a %base_url% variable, but without success.
Thanks in advance, any pointers in the right direction will be appreciated.