O:8:"stdClass":7:{s:4:"file";s:19:"example/markdown.md";s:7:"section";s:0:"";s:5:"level";i:0;s:8:"internal";b:0;s:7:"tocable";b:0;s:5:"views";a:1:{s:4:"main";a:2:{s:8:"template";s:15:"default/article";s:4:"data";a:2:{s:7:"content";s:4258:"
This is a sample file on how to use Markdown together with Anax. Review its source to get an understanding of how it works.
I can link to another document. In the same directory like the file license.md. Or in another directory like report/kmom01.
It does not matter in what subdirectory we are. All urls that are relative, will be prepended with the site base url. The base url will be the url to the htdocs directory.
You can find a copy of this file in the subdirectory content/example/markdown.md. Try it out to verify that all urls works.
Linking to image sources works in the same manner as linking to other pages. Anax will prepend the base url to all relative image sources.
Here are some samples on how you can link to a image using Markdown or HTML.
 <img src="img/dbwebbisar.jpg" alt="alt text">
This is the outcome of the two images.


So, all image sources are relative the htdocs directory.
What if I want to create a link to another asset, for example a php-page, a pdf-document or an image to be displayed in its own tab?
Well, two answers.
Use friendly urls and continue to link relative links. The link will be prepended with the baseurl, but now without the part index.php/.
Tell Anax Flat to ignore the link and leave it as it is. You can do this by prepending the relative url with a !. Any link in a document in content having a relative link prepended with a ! will be treated as a link to an asset, instead of a link to a page.
Here is an example of creating a relative link to a image.
[View full size image](!img/dbwebbisar.jpg)
<a href="!img/dbwebbisar.jpg">
<img src="img/dbwebbisar.jpg" alt="alt text">
</a>
You can create a mailto link using Markdown or HTML. It looks like this.
<mailto:user@example.com> <user@example.com> <a href="mailto:user@example.com">user@example.com</a>
The resulting links looks like this.
";s:7:"excerpt";s:4258:"This is a sample file on how to use Markdown together with Anax. Review its source to get an understanding of how it works.
I can link to another document. In the same directory like the file license.md. Or in another directory like report/kmom01.
It does not matter in what subdirectory we are. All urls that are relative, will be prepended with the site base url. The base url will be the url to the htdocs directory.
You can find a copy of this file in the subdirectory content/example/markdown.md. Try it out to verify that all urls works.
Linking to image sources works in the same manner as linking to other pages. Anax will prepend the base url to all relative image sources.
Here are some samples on how you can link to a image using Markdown or HTML.
 <img src="img/dbwebbisar.jpg" alt="alt text">
This is the outcome of the two images.


So, all image sources are relative the htdocs directory.
What if I want to create a link to another asset, for example a php-page, a pdf-document or an image to be displayed in its own tab?
Well, two answers.
Use friendly urls and continue to link relative links. The link will be prepended with the baseurl, but now without the part index.php/.
Tell Anax Flat to ignore the link and leave it as it is. You can do this by prepending the relative url with a !. Any link in a document in content having a relative link prepended with a ! will be treated as a link to an asset, instead of a link to a page.
Here is an example of creating a relative link to a image.
[View full size image](!img/dbwebbisar.jpg)
<a href="!img/dbwebbisar.jpg">
<img src="img/dbwebbisar.jpg" alt="alt text">
</a>
You can create a mailto link using Markdown or HTML. It looks like this.
<mailto:user@example.com> <user@example.com> <a href="mailto:user@example.com">user@example.com</a>
The resulting links looks like this.
";}}}s:11:"frontmatter";a:1:{s:5:"title";s:19:"Trying out Markdown";}}