mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 12:36:22 +00:00
62 lines
1.8 KiB
Text
62 lines
1.8 KiB
Text
|
- if request.referer
|
||
|
= render 'layouts/breadcrumb', crumbs: [ link_to(t('help.markdown.back'), request.referer) ]
|
||
|
|
||
|
.row
|
||
|
.col
|
||
|
%table.table.table-striped.table-responsive-md
|
||
|
%thead
|
||
|
%tr
|
||
|
%th= t('help.markdown.input')
|
||
|
%th= t('help.markdown.output')
|
||
|
%tbody
|
||
|
%tr
|
||
|
%td
|
||
|
%code= "**#{t('help.markdown.bold')}**"
|
||
|
%td
|
||
|
%strong= t('help.markdown.bold')
|
||
|
%tr
|
||
|
%td
|
||
|
%code= "_#{t('help.markdown.italic')}_"
|
||
|
%td
|
||
|
%em= t('help.markdown.italic')
|
||
|
- 7.times do |i|
|
||
|
- next if i == 0
|
||
|
%tr
|
||
|
%td
|
||
|
%code= "#{'#' * i} #{t('help.markdown.heading')} #{i}"
|
||
|
%td= raw "<h#{i}>#{t('help.markdown.heading')} #{i}</h#{i}>"
|
||
|
%tr
|
||
|
%td
|
||
|
%code= "[#{t('help.markdown.link.text')}](#{t('help.markdown.link.url')})"
|
||
|
%td= link_to t('help.markdown.link.text'), t('help.markdown.link.url')
|
||
|
%tr
|
||
|
%td
|
||
|
%code= "> #{t('help.markdown.quote')}"
|
||
|
%td
|
||
|
%blockquote.blockquote= t('help.markdown.quote')
|
||
|
%tr
|
||
|
%td
|
||
|
%code
|
||
|
- 3.times do
|
||
|
= "* #{t('help.markdown.ul')}"
|
||
|
%br
|
||
|
%td
|
||
|
%ul
|
||
|
- 3.times do
|
||
|
%li= t('help.markdown.ul')
|
||
|
%tr
|
||
|
%td
|
||
|
%code
|
||
|
- 3.times do |i|
|
||
|
= "#{i}. #{t('help.markdown.ol')}"
|
||
|
%br
|
||
|
%td
|
||
|
%ol
|
||
|
- 3.times do
|
||
|
%li= t('help.markdown.ol')
|
||
|
%tr
|
||
|
%td
|
||
|
%code= "![#{t('help.markdown.img.text')}](#{t('help.markdown.img.url')})"
|
||
|
%td
|
||
|
%img{alt: t('help.markdown.img.text'), src: t('help.markdown.img.url')}
|