Obsidian Advanced Slides Plugin 分割组件

1 背景知识

通过使用 <split> 标签可以将幻灯片内容分为行和列的布局。


2 属性说明

2.1 even

通过设置 even 属性,幻灯片上的内容将会被平均分配。





Tip

三个图片的情况下,每个图片占用可用宽度的 1/3


2.2 gap

gap 参数能够让每个元素之间有间隔。

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s

when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap

into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem

Tip

在这个例子中,每个元素之间的间隙为 3em


2.3 Left & right

如果想按比例分割幻灯片,可以使用 Left & right 实现。 Left & right 表示分割的比例。

Tip

左边的元素宽度是右边元素的两倍。

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap

into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem

2.4 wrap

wrap 属性可以定义新行从哪个元素开始。

Note

下面的PPT 将会拆成2 行,第一行4个图片。第二行2 个图片。


![](https://picsum.photos/id/1010/250/250)




3 no-margin

Tip

添加无边距参数,行和列之间的间隙会自动消除。