Rework shared kramdown instructions to avoid html in translations

This commit is contained in:
Andy Allan 2023-03-08 15:42:15 +00:00
parent 235618b9c0
commit 2771921cb1
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,6 @@
<h5><%= t ".title_html" %></h5>
<h5>
<%= t ".heading_html", :kramdown_link => link_to(t(".kramdown"), t(".kramdown_url")) %>
</h5>
<dl>
<dt><%= t ".headings" %></dt>
<dd># <%= t ".heading" %><br>

View file

@ -1823,7 +1823,9 @@ en:
support: support
shared:
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
heading: Heading
subheading: Subheading