Linking to Pages, Fragments or Sites

There are several ways to generate web links in Fragmenta, you can choose the one which suits your project.

Textile links

You can generate links using either Textile formatting

"Text for link":http://www.mecanisme.net/

generates the link

Text for link

or using Markdown inline links (ref links don’t work). For more details on formatting, see the Formatting page for fragments.

Page and Fragment links

You can also generate links to specific pages in your project, by using the ‘link’ command. For example you can link to the page called formatting by using the following code :

<%= link(:page => 'fragments', :text => 'Link to fragments page') %>

generates the link

Fragments

The text parameter is optional.