-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(exporter::svg): embed html elements
- Loading branch information
1 parent
4ef85dc
commit 7c2e5d8
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
#image.decode(``` | ||
<svg viewBox="0 0 1024 768" xmlns="http://www.w3.org/2000/svg"> | ||
<foreignObject width="641px" height="361px"> | ||
<iframe | ||
src="https://player.bilibili.com/player.html?aid=80433022&bvid=BV1GJ411x7h7&cid=137649199&page=1&danmaku=0" | ||
scrolling="no" | ||
border="0" | ||
width="640px" | ||
height="360px" | ||
frameborder="no" | ||
framespacing="0" | ||
allowfullscreen="true" | ||
></iframe | ||
></foreignObject> | ||
</svg>```.text, alt: "!typst-inlined-svg") |