Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get styled text from Spreadsheet #126

Open
blopa opened this issue Sep 10, 2017 · 2 comments
Open

Get styled text from Spreadsheet #126

blopa opened this issue Sep 10, 2017 · 2 comments

Comments

@blopa
Copy link

blopa commented Sep 10, 2017

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
Copy link

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.

<script id="whatever" type="text/x-handlebars-template"> {{{cells.text}}} </script>

Hopefully, that makes sense!

@careyestes
Copy link

careyestes commented Oct 9, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants