Is there good package that does text formatting or should I make one


#1

I am need users to be able to format text is there a package or should i make it?


#2

Built into meteor is markdown. It isn’t a full blown text formatting engine but usually does the trick.

http://docs.meteor.com/#/basic/markdown


#3

thanks. I just tryed it and I am doing something wrong why does <p>{{#markdown}}{{text}}{{/markdown}}</p> make nothing render.


#4

Did you add the markdown package to your project?


#5

Isn’t that going to wrap all your generated HTML in a <p> tag?

Just do this:

{{#markdown}}
  {{text}}
{{/markdown}}

#6

It works both ways with and with out

. Just tested.


#7

Thanks I forgot to add it in I was tired oops.


#8

No worries, happens to everyone :smile: