Open gerardovf opened 8 years ago
Try using the html break tag: <br>
I tried sending in the payload '{"value":"Text1
Text2"}' and the '
' it is not parsed and shown is just as plain text.
Hmm, so I did some testing and I don't think there is a way to do multi-line there. A solution is to have each alarm be its own card
What I have done, as a workaround is to create a new 'crouton-double-text' dashboard element and changed the font to a monospace type. @import url(http://fonts.googleapis.com/css?family=Cutive+Mono);
Then I send in the payload text without spaces (I use underscore) and it seems to work ok.
Could you use this to do tables? https://github.com/showdownjs/showdown http://showdownjs.github.io/demo/
Are you suggesting to have a card (maybe of varying sizes) that can display generic content derived from markdown?
Yes, sir. It would allow to create simple tables, lists,...
I'm trying to show a 'last alarms' list using "crouton-simple-text" card. I try to use '
' or '\n' as a line separator with no success. Thanks for your nice work!