Browse Source

Parse ingredient as markdown in shortcode

Bee Hudson 6 months ago
parent
commit
6ef53889d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      layouts/shortcodes/recipeIngredient.html

+ 1 - 1
layouts/shortcodes/recipeIngredient.html

@@ -1,5 +1,5 @@
 <li class="p-ingredient">
-    {{ .Get "text" -}}
+    {{ .Get "text" | markdownify -}}
     {{- with .Get "alternative" -}}
     <ul>
         <li class="p-ingredient">{{ . | markdownify }}</li>