Created
June 28, 2024 09:19
-
-
Save floffy-f/9c9fbcc2889116b5f2faced008611cf1 to your computer and use it in GitHub Desktop.
Typst block quote like markdown
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
// A Typst block quote that looks like a `>` syntax sugar in markdown (e.g. github renderer). | |
// Put on top of relevant files. | |
#show quote.where(block: true): content => block( | |
fill: luma(245), | |
inset: (left: 3%, y: 10%), | |
radius: (right: 5pt), | |
stroke: (left: 1pt+luma(100)), | |
content | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment