Skip to content

Commit

Permalink
Merge pull request #116 from zaverichintan/markdown
Browse files Browse the repository at this point in the history
Markdown support in posts
  • Loading branch information
pmuens committed May 11, 2016
2 parents 6ee3107 + 691b0ca commit 5dbddf0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ mizzao:user-status
dburles:eslint
kevohagan:sweetalert
mizzao:autocomplete
markdown
simple:highlight.js
2 changes: 2 additions & 0 deletions .meteor/versions
2 changes: 1 addition & 1 deletion client/views/shared/_post.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="twelve columns">
{{#with post}}
<div class="post">
{{simpleFormat body}}
{{#markdown}}{{body}}{{/markdown}}
<hr>
<a href="{{pathFor 'profile' _id=author._id}}">
{{> avatar user=author size='extra-small' shape='circle' class='u-pull-left avatar'}}
Expand Down

0 comments on commit 5dbddf0

Please sign in to comment.