question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to document @font-face

See original GitHub issue

I’m distributing font declerations and I’d like them documented. I would like to see SassDoc document the following:

/// Basic Font Family
@font-face {
  font-family: 'My Font';
  src: ulr('font/path.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

Instead of pulling it out and documenting it like everything else, it simply is ignored entirely.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pascalduezcommented, Oct 27, 2018

Hey @steffenpedersen, yes I think so. We should really allow this.

0reactions
pascalduezcommented, Jun 19, 2019

@blackfalcon No doubt your PR will fill this antediluvian blank 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

css - @font-face not working - Stack Overflow
@font-face not working · Check your resources tab in the inspector/firebug to make sure your fonts are being loaded correctly. · Just a...
Read more >
FontFace.load() - Web APIs - MDN Web Docs
Indicates that the attempt to load the font failed. Examples. This simple example loads a font and uses it to display some text...
Read more >
How to use @font-face in CSS
If all the fonts have licenses that allow them to be used online, there's no reason you can't use them. Go to FontSquirrel...
Read more >
225790 – document.fonts.ready is sometimes still resolved too ...
Namely, if all @font-face rules are defined in an external CSS resource, then there is no CSS-connected FontFace object at the time of...
Read more >
How To Load and Use Custom Fonts with CSS | DigitalOcean
Lastly, you will load a self-hosted font family using the @font-face ... local font if the browser is unable to load the files...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found