diff --git a/src/prod_components/post.js b/src/prod_components/post.js index cf31ff64d..90f4267ba 100644 --- a/src/prod_components/post.js +++ b/src/prod_components/post.js @@ -105,6 +105,32 @@ function copyPostLinkToClipBoard( link ) { el.remove(); } +function Markdown({ source }) { + return ( + { + switch(props.level) { + case 1: + return

{props.children}

; + case 2: + return

{props.children}

; + case 3: + return

{props.children}

; + case 4: + return

{props.children}

; + case 5: + return
{props.children}
; + case 6: + return
{props.children}
; + } + } + }} + /> + ) +} + function Post( { authorized, empty, @@ -187,11 +213,11 @@ function Post( { { //Post is open if the comments are showing showComments? - (

{post.body}

) + () : (
-

{post.body.slice(0, wordLimitFadedDisplay) + "..."}

+
) @@ -206,7 +232,7 @@ function Post( { } else { return ( - + ) }