all text markdown with redcarpet
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
%h1.text-2xl.font-bold.tracking-tight.sm:text-4xl
|
||||
= section.header
|
||||
%p.mt-4.text-lg.pt-10
|
||||
= section.text
|
||||
= markdown(section)
|
||||
- template = "merged/view/cards/" + section.card_template
|
||||
.grid{ column_option(section)}
|
||||
- section.cards.each do |card|
|
||||
|
@ -11,7 +11,7 @@
|
||||
%h2.text-2xl.font-bold.md:text-5xl
|
||||
= section.header
|
||||
%p.hidden.sm:mt-4.sm:block.text-2xl
|
||||
= section.text
|
||||
= markdown(section)
|
||||
.mt-4.md:mt-8
|
||||
-if section.has_option?("button_text")
|
||||
= render 'merged/view/elements/button' , section: section
|
||||
|
@ -7,4 +7,4 @@
|
||||
%h4.text-xl.mt-10.md:text-2xl
|
||||
= section.option("subheader")
|
||||
%p.mt-4.text-lg.pt-10
|
||||
= section.text.html_safe
|
||||
= markdown(section)
|
||||
|
@ -9,6 +9,4 @@
|
||||
.lg:py-16
|
||||
%article.space-y-4.text-gray-600
|
||||
%p
|
||||
= section.text
|
||||
%p
|
||||
= section.text
|
||||
= markdown(section)
|
||||
|
@ -9,7 +9,7 @@
|
||||
%h4.text-xl.mt-10.md:text-2xl
|
||||
= section.option("subheader")
|
||||
%p.mt-8.md:block
|
||||
= section.text
|
||||
= markdown(section)
|
||||
-if section.has_option?("text")
|
||||
%p.mt-8.md:block
|
||||
= section.option("text")
|
||||
|
@ -8,4 +8,4 @@
|
||||
-if section.has_option?("subheader")
|
||||
%h4.text-xl.mt-10.md:text-2xl
|
||||
= section.option("subheader")
|
||||
%p.mt-3= section.text
|
||||
%p.mt-3= markdown(section)
|
||||
|
@ -6,4 +6,4 @@
|
||||
%h3.text-lg
|
||||
= card.header
|
||||
%p.mt-1.text-xs.font-medium
|
||||
= card.text
|
||||
= markdown(card)
|
||||
|
@ -5,4 +5,4 @@
|
||||
%h3.p-4.mt-10.text-3xl.font-bold= card.header
|
||||
-if card.has_option?("subheader")
|
||||
%h4.p-4.text-xl= card.option("subheader")
|
||||
%p.m-10= card.text
|
||||
%p.m-10= markdown(card)
|
||||
|
@ -4,4 +4,4 @@
|
||||
%h3.p-4.text-2xl.font-bold= card.header
|
||||
-if card.has_option?("subheader")
|
||||
%h4.p-4.text-xl= card.option("subheader")
|
||||
%p.mt-2.p-4= card.text
|
||||
%p.mt-2.p-4= markdown(card)
|
||||
|
Reference in New Issue
Block a user