min-writing:0.1.0 - #5663
Conversation
elegaanz
left a comment
There was a problem hiding this comment.
Two small things. The second comment in particular needs to be addressed, so that users don't download a package they don't need.
| @@ -0,0 +1,72 @@ | |||
| /// = Additional commands | |||
|
|
|||
| #let original = (figure: figure, align: align) | |||
There was a problem hiding this comment.
For info, you can use the std module instead of making aliases manually: std.figure will always refer to the "original" figure function (unless you create a variable called std too, of course). You don't have to change it for your package to be accepted, but I wanted to let you know in case you need it again in the future.
There was a problem hiding this comment.
I completely forgot about std! Thanks for reminding me; it's much easier than manually keeping track of all the shadowed functions.
| body /// <- content | string | ||
| /// Text to be boxed. | | ||
| ) = context { | ||
| import "@preview/catppuccin:1.1.0": get-flavor |
There was a problem hiding this comment.
This import seems unused. If that's right, can you remove please?
There was a problem hiding this comment.
I've removed it. That import was a leftover from the previous implementation, which was intended to fetch the color theme from within the command. When I changed the approach, I forgot to remove it. Sorry!
9e36a6b to
a7c54e6
Compare
|
The issues pointed out were resolved in the last commit 🙂 |
I am submitting
Description: Create quick notes intuitively and rapidly, using syntactic sugar that extends the markup supported by Typst. This package was designed to make creating documents as easy as possible, without requiring extensive initial
configuration—in fact, you simply need to import the package and apply the
#showrule to access itsfeatures—yet it still offers various options for fine-tuning.
#boxedfor boxed texts#mermaidfor Mermaid diagrams#figurewith support for sourcePS: The thumbnail differs from the template because, by default, the package creates a single-page document with an automatic height, and the generated template does not match standard paper proportions; consequently, the resulting thumbnail does not fit well within the Typst Universe site's thumbnail display.
I have read and followed the submission guidelines and, in particular, I
typst.tomlfile with all required keysREADME.mdwith documentation for my packageLICENSEfile or linked one in myREADME.mdexcluded PDFs or README images, if any, but not the LICENSE