Gridsome 如何处理外部图像 Url

How Gridsome handles External Image Url

谁能解释一下 Gridsome 如何处理 Markdown 文件中的外部图像 Url。它是下载图像还是使用 URL.

简单地渲染外部图像

g-image - 相关图像

Gridsome has a built-in component that outputs an optimized progressive image. It also resizes and crops in real-time when developing.

Only local, relative image paths will be compressed by Gridsome.

md相关:

The @gridsome/transformer-remark transformer plugin automatically converts normal Markdown images to g-image compatible markup.

阅读更多:https://gridsome.org/docs/images/

-VS-

外部 URL - 无渲染引擎

= 使用那个 URL 的外部图像


---
title: post-1
---


<h2 class="uk-heading-line"><span>Landing Page</span></h2>

<img src ="https://images.unsplash.com/photo-1416138645715-930585fe4ce2?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60" title="turtle">

![Landing Page](https://images.unsplash.com/photo-1416138645715-930585fe4ce2?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60)