mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-28 06:05:31 +03:00
Clean up elm-ui wrapping rules for markdown renderer.
This commit is contained in:
parent
0fd282ea84
commit
8315c96be5
@ -85,8 +85,8 @@ renderer =
|
||||
[ Element.spacing 15 ]
|
||||
, thematicBreak = Element.none
|
||||
, plain = Element.text
|
||||
, bold = \content -> Element.row [ Font.bold ] [ Element.text content ]
|
||||
, italic = \content -> Element.row [ Font.italic ] [ Element.text content ]
|
||||
, bold = \content -> Element.el [ Font.bold ] (Element.text content)
|
||||
, italic = \content -> Element.el [ Font.italic ] (Element.text content)
|
||||
, code = code
|
||||
, link =
|
||||
\link body ->
|
||||
@ -121,7 +121,7 @@ renderer =
|
||||
(items
|
||||
|> List.map
|
||||
(\itemBlocks ->
|
||||
Element.row [ Element.spacing 5 ]
|
||||
Element.wrappedRow [ Element.spacing 5 ]
|
||||
[ Element.el
|
||||
[ Element.alignTop ]
|
||||
(Element.text "•")
|
||||
|
Loading…
Reference in New Issue
Block a user