mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 14:54:05 -06:00
11 lines
399 B
Markdown
11 lines
399 B
Markdown
<%*
|
|
const clipboard = await tp.system.clipboard();
|
|
-%>
|
|
<figure style="display: flex; flex-direction: column; align-items: center; text-align: center;">
|
|
<img src="<% clipboard %>" style="max-width: 100%; height: auto;"/>
|
|
<figcaption>
|
|
<span style="font-weight:bold"> [Figure num] </span>
|
|
<span style="font-style:italic;">Image from clipboard</span>
|
|
</figcaption>
|
|
</figure>
|