forked from realaravinth/libmedium
implement additional markup types on post
This commit is contained in:
parent
260dcb97e1
commit
847afe1bdd
1 changed files with 11 additions and 1 deletions
|
@ -26,6 +26,16 @@
|
|||
<. include!("./img.html"); .>
|
||||
<.} else if p.type_ == "P" {.>
|
||||
<. include!("./p.html"); .>
|
||||
<.} else if p.type_ == "H2" {.>
|
||||
<h2><.= p.text .></h2>
|
||||
<.} else if p.type_ == "H3" {.>
|
||||
<h3><.= p.text .></h3>
|
||||
<.} else if p.type_ == "H4" {.>
|
||||
<h4><.= p.text .></h4>
|
||||
<.} else if p.type_ == "H5" {.>
|
||||
<h5><.= p.text .></h5>
|
||||
<.} else if p.type_ == "H6" {.>
|
||||
<h6><.= p.text .></h6>
|
||||
<.}.>
|
||||
<.}.>
|
||||
</article>
|
||||
|
|
Loading…
Reference in a new issue