Rework shared kramdown instructions to avoid html in translations
This commit is contained in:
parent
235618b9c0
commit
2771921cb1
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
||||||
<h5><%= t ".title_html" %></h5>
|
<h5>
|
||||||
|
<%= t ".heading_html", :kramdown_link => link_to(t(".kramdown"), t(".kramdown_url")) %>
|
||||||
|
</h5>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><%= t ".headings" %></dt>
|
<dt><%= t ".headings" %></dt>
|
||||||
<dd># <%= t ".heading" %><br>
|
<dd># <%= t ".heading" %><br>
|
||||||
|
|
|
@ -1823,7 +1823,9 @@ en:
|
||||||
support: support
|
support: support
|
||||||
shared:
|
shared:
|
||||||
markdown_help:
|
markdown_help:
|
||||||
title_html: Parsed with <a href="https://kramdown.gettalong.org/quickref.html">kramdown</a>
|
heading_html: Parsed with %{kramdown_link}
|
||||||
|
kramdown_url: https://kramdown.gettalong.org/quickref.html
|
||||||
|
kramdown: kramdown
|
||||||
headings: Headings
|
headings: Headings
|
||||||
heading: Heading
|
heading: Heading
|
||||||
subheading: Subheading
|
subheading: Subheading
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue