GithubHelp home page GithubHelp logo

Comments (2)

ATQQ avatar ATQQ commented on June 3, 2024

这个问题已修复啦 详见 commit:9b3c41d#diff-2792f741579b1f2c72f7c5b782e959e570b1a3580c038d83fc59a398cbf99e2f

但如果是手动在 frontmatter 指定相对路径的图片的化 目前仍然不会生效,这个计划后面在修复(待设计一个通用的插件处理 frontMatter中的图片)

from sugar-blog.

ATQQ avatar ATQQ commented on June 3, 2024

目前兼容了 手动指定cover 详见 commit 9256732

使用非 public 的相对路径文件

---
cover: /sop/test/a/image.png
---
# 测试相对路径 Cover

<img src="./image.png" style="display:none;"/>

正常内容内容

目录结构

├── README.md
├── docs
|  ├── about.md
|  ├── index.md
|  ├── public
|  |  ├── favicon.ico
|  |  ├── logo.png
|  |  └── robots.txt
|  └── sop
|     ├── component.md
|     ├── more.md
|     ├── quickStart.md
|     ├── style.md
|     └── test
|        └── a
|           ├── bcf.md
|           └── image.png

directory: 5 file: 14

构建后预览
image

from sugar-blog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.