_textile_quick_reference.html.erb
1.18 KB
<div class='text-editor-sidebar-box'>
<div class='header'>
<strong><%= _('Textile markup quick reference') %></strong>
<%= link_to(_('(show)'), '#', :id => 'textile-quickref-show') %>
<%= link_to(_('(hide)'), '#', :id => 'textile-quickref-hide', :style => 'display: none') %>
</div>
<div id='textile-quickref' style='display: none;'>
<p><%= _('Simple formatting:') %> <code>_<%= _('italics') %>_</code> <code>*<%= _('bold') %>*</code>, <code>-<%= _('striked')%>-</code>.</p>
<p><%= _('Links:') %> <code>"Noosfero":http://noosfero.org/</code></p>
<p><%= _('Images:') %> <code>!http://example.com/image.png!</code></p>
<p><%= _('Bullet lists:') %></p>
<pre>* <%= _('first item') %>
* <%= _('second item') %></pre>
<p><%= _('Numbered lists:') %></p>
<pre># <%= _('first item') %>
# <%= _('second item') %></pre>
<p><%= h(_('For code, use HTML tags <pre> and <code>, and indent the code inside them:').html_safe) %>
</p>
<pre>
<pre>
<code>
a.gsub!( /</, '' )
</code>
</pre>
</pre>
<p><%= _('See also a more complete <a href="%s">Textile Reference</a>.').html_safe % 'http://redcloth.org/hobix.com/textile/' %></p>
</div>
</div>