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

Web fonts #10

Open
michaelpwilson opened this issue Dec 10, 2015 · 1 comment
Open

Web fonts #10

michaelpwilson opened this issue Dec 10, 2015 · 1 comment
Labels

Comments

@michaelpwilson
Copy link

It seems web fonts are stripped out from the email.

Is there support for using webfonts with email builder?

I'm looking for similar functionality to how Zurb Ink's inliner ihandles web fonts.

It converts:

<link href='https://fonts.googleapis.com/css?family=Roboto:500' rel='stylesheet' type='text/css'>

to this:

@font-face {
   font-family: 'Roboto';
   font-style: normal;
   font-weight: 500;
   src: local('Roboto Medium'), local('Roboto-Medium'), url('https://fonts.gstatic.com/s/roboto/v15/RxZJdnzeo3R5zSexge8UUaCWcynf_cDxXwCLxiixG1c.ttf') format('truetype');
 }
@notasausage
Copy link

Try adding the data-embed-ignore attribute to your link tag so the inliner avoids processing or stripping that line of code.

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

No branches or pull requests

3 participants