mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 03:26:22 +00:00
74 lines
2.2 KiB
Text
74 lines
2.2 KiB
Text
- if request.referer
|
|
= render 'layouts/breadcrumb', crumbs: [ link_to(t('help.markdown.back'), request.referer) ]
|
|
|
|
.row
|
|
.col
|
|
%table.table.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{colspan: 2}= t('help.markdown.dir')
|
|
%tr
|
|
%td
|
|
%code= "[#{t('help.markdown.ltr')}]{dir=ltr lang=es}"
|
|
%td
|
|
%span{dir: 'ltr', lang: 'es'}= t('help.markdown.ltr')
|
|
%tr
|
|
%td
|
|
%code= "[#{t('help.markdown.rtl')}]{dir=rtl lang=es}"
|
|
%td
|
|
%span{dir: 'rtl', lang: 'es'}= t('help.markdown.rtl')
|
|
|
|
%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')}
|