feat: blockquote rendering and styling
This commit is contained in:
parent
6aa6b0c097
commit
3aabaeb52d
2 changed files with 9 additions and 0 deletions
|
@ -138,3 +138,10 @@ iframe {
|
||||||
background-color: rgb(255, 165, 0);
|
background-color: rgb(255, 165, 0);
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
margin-left: -5px;
|
||||||
|
padding-left: 19px;
|
||||||
|
border-left: 4px solid #333;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
<. include!("./img.html"); .>
|
<. include!("./img.html"); .>
|
||||||
<.} else if p.type_ == "P" {.>
|
<.} else if p.type_ == "P" {.>
|
||||||
<p><. include!("./_markup.html"); .></p>
|
<p><. include!("./_markup.html"); .></p>
|
||||||
|
<.} else if p.type_ == "BQ" {.>
|
||||||
|
<blockquote><. include!("./_markup.html"); .></blockquote>
|
||||||
<.} else if p.type_ == "H2" {.>
|
<.} else if p.type_ == "H2" {.>
|
||||||
<h2><.= p.text .></h2>
|
<h2><.= p.text .></h2>
|
||||||
<.} else if p.type_ == "H3" {.>
|
<.} else if p.type_ == "H3" {.>
|
||||||
|
|
Loading…
Reference in a new issue