chriszarate / sheetrock

Quickly connect to, query, and lazy-load data from Google Spreadsheets.
https://chriszarate.github.io/sheetrock/
818 stars 122 forks source link

Get styled text from Spreadsheet #126

Open blopa opened 7 years ago

blopa commented 7 years ago

Hello.

Is there a way to get formated/styled text from a cell? Like a bold or italic text?

http://i.imgur.com/QYPuZZ9.png

Thank you

cjeanrichard commented 6 years ago

Just stumbled on this question.

If you're using sheetrock and handlebars together, you can style text from within the google sheet by adding your tags in the sheet, for example if you want part of a cell to be bold, you can wrap it in a this is important text, and then using the triple curly brackets in your handlebars script instead of double curly brackets.

Hopefully, that makes sense!

careyestes commented 4 years ago

I was able to get a line break to work using this method, but I cant get the text to bold. Can you explain "wrap it in a this is important text" a little fiurther? I tried using b and strong tags as well as ** Markdown