小编hah*_*nec的帖子

如何在 Marp 或 Marpit 中将图像对齐到文本标题下方

我通过 VScode 使用 Marpit。这是 mi 最小工作示例:

---
marp: true
---

This should go in to the header and picture should be bellow it, but right now it is the middle of the picture

![bg contain](https://csgeekshub.com/wp-content/uploads/2020/07/C-Program-compilation-steps-and-process.jpg)

Run Code Online (Sandbox Code Playgroud)

这段代码的问题是它生成的幻灯片中文本和图像居中对齐,如下图所示:

在此输入图像描述

我希望将文本作为标题而不是交叉图像。

我怎样才能实现这个目标?

html css markdown marpit marp

3
推荐指数
1
解决办法
6969
查看次数

标签 统计

css ×1

html ×1

markdown ×1

marp ×1

marpit ×1