Fonts for my html report template in appsheet

Hello everyone!
I'm trying to add fonts from google font to an html template that I then transform into a pdf, and when adding the @import between my style tags I get this error:
"Run task "Task for Enviomail"
Error 1 : Task 'Enviomail' Body template. Template could not be loaded due to exception: '=' is an unexpected token. The expected token is ';'. Line 9, position 134.
Error 2 : The document body is empty"

any ideas? I leave the @import tag that I am using:
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700...');

Solved Solved
0 6 537
1 ACCEPTED SOLUTION


@datijoaquin wrote:

am currently investigating how far it can go


Almost no limits actually.
I'm looking for dificult template use cases! - Google Cloud Community
Part 1 - Almost pixel perfect pdf reports from aut... - Google Cloud Community
Part 2: Pixel perfect paginated reports - Google Cloud Community


@datijoaquin wrote:

I'm trying to add fonts from google font to an html template


 

<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=IBM Plex Sans"/>

 

View solution in original post

6 REPLIES 6
Top Labels in this Space