colorful-boxes : Breakable boxes
maucejo opened this issue · comments
Hi, at the moment colorful-boxes
(previously typst-boxes
) does not allow for breakable boxes, which can be somewhat annoying.
My solution is to download typst-boxes
and modify the source code.
A simple question, how to create a PR for this package. Should I fork the whole typst/packages
repository or should I fork the original repository ?
Thank you
Hi, at the moment
colorful-boxes
(previouslytypst-boxes
) does not allow for breakable boxes, which can be somewhat annoying.
My solution is to downloadtypst-boxes
and modify the source code.A simple question, how to create a PR for this package. Should I fork the whole
typst/packages
repository or should I fork the original repository ?Thank you
You contribute to the original repository.
Is it possible to replicate
slantedColorbox
oftypst-boxes
withshowybox
?
At the moment, it's not possible, due to some limitations of v1.1.0 boxed
titles. Now, v1.2.0 (kinda) is in developement and have a similar kind of box. Here's an example:
// v1.2.0 example
#showybox(
frame: (
radius: 0pt,
thickness: 2pt
),
title-style: (
boxed: true
),
boxed-style: (
radius: 0pt,
anchor: (y: bottom)
),
title: "This isn't quite perfect but...",
width: 50%,
)[#lorem(10)]
As said, PRs should be made to the original repository. I see you've made one already, linking it here for posterity: lkoehl/typst-boxes#3