raviriley / agency-jekyll-theme

Jekyll version of the newest Agency Bootstrap theme, plus new features: Google Analytics, Markdown support, custom pages, and more!
https://raviriley.github.io/agency-jekyll-theme-starter/
MIT License
347 stars 689 forks source link

Need a better way to enable Markdown support than the markdownify filter #1

Closed raviriley closed 3 years ago

raviriley commented 4 years ago

Does anyone know of a more efficient way of doing this over appending | markdownify to every element I want to enable Markdown in?

Is your feature request related to a problem? Please describe.

Currently, every text area with Markdown support is done like this:

<p>{{ site.data.sitetext.example.text | markdownify | default: example}}</p>

Every "Markdown supported" section has Markdown enabled with the markdownify Liquid filter.

Describe the solution you'd like

A universal way of adding Markdown support to all paragraphs and headings.