-
|
I try to add: @font-face {
font-family: "Virgil";
src: url("https://excalidraw.com/Virgil.woff2");
}
@font-face {
font-family: "Cascadia";
src: url("https://excalidraw.com/Cascadia.woff2");
}in the I read https://docusaurus.io/docs/next/markdown-features/assets#images but it seems not to work for me. Here is the exported SVG you can play with: NOTE: The font cannot render on GitHub also. Reference issue: tisonkun/pulsar-planet#1 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Please create a repro |
Beta Was this translation helpful? Give feedback.
-
|
Resolve by: import EsbSvg from "./pulsar-scenario-esb.svg";
<EsbSvg />instead of Also, the blank line above is important. But why? |
Beta Was this translation helpful? Give feedback.
Resolve by:
instead of
.Also, the blank line above is important. But why?