From ef463b39be2d9f5a536730de57e8827a794f38cf Mon Sep 17 00:00:00 2001 From: Adrian Petrescu Date: Mon, 12 Sep 2022 19:09:12 -0400 Subject: [PATCH] docs: Use inline image link in faq.md (#35413) * Use absolute URL in faq.md image link The relative link is rendered relative to the host domain, which works fine when viewing it on Github, but since you also use the same generated HTML in your doc site, the link is broken. See here: https://www.electronjs.org/docs/latest/faq#the-font-looks-blurry-what-is-this-and-what-can-i-do Using an absolute URL here should fix the issue on the main site. * Use inline image reference for subpixel rendering example As suggested by @dsanders11 --- docs/faq.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 174104aee9b0..84b3b5cf6e20 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -135,7 +135,7 @@ is only available in renderer processes. If [sub-pixel anti-aliasing](https://alienryderflex.com/sub_pixel/) is deactivated, then fonts on LCD screens can look blurry. Example: -![subpixel rendering example] +![Subpixel rendering example](images/subpixel-rendering-screenshot.gif) Sub-pixel anti-aliasing needs a non-transparent background of the layer containing the font glyphs. (See [this issue](https://github.com/electron/electron/issues/6344#issuecomment-420371918) for more info). @@ -161,4 +161,3 @@ Notice that just setting the background in the CSS does not have the desired eff [indexed-db]: https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API [message-port]: https://developer.mozilla.org/en-US/docs/Web/API/MessagePort [browser-window]: api/browser-window.md -[subpixel rendering example]: images/subpixel-rendering-screenshot.gif