-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exmllent:0.1.0, handy-dora:0.1.0 and zebraw:0.1.0 #1510
Conversation
@@ -0,0 +1,198 @@ | |||
#let xml-to-worksheets(xml-path) = { | |||
let workbook = xml(xml-path).filter(e => if e.tag == "" { false } else { true }).first() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work as expected, because xml
can only read files from the current package. The user of your package should call it and pass the resulting string as an argument to your function.
version = "0.1.0" | ||
entrypoint = "lib.typ" | ||
authors = ["hongjr03 <https://github.com/hongjr03>"] | ||
description = "Riichi-hand-rs but in Typst." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my opinion, this description could be improved. I personally don't know what riichi-hand-rs is, and I believe a lot of people don't either. Something along the lines of "Render Mahjong tiles" would be better.
@@ -0,0 +1,14 @@ | |||
[package] | |||
name = "mahjong-tiles" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This name is too descriptive of what the package does. Could you please change it to something more unique?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice if you could compress this file, to not bloat the repository too much. You can use oxipng
for that (or any image editing program).
Thanks for your review! I'll fix these quickly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for taking the review into account. I just noticed something else that could be improved in your READMEs. Sorry for the multiple reviews.
|
||
## Usage | ||
|
||
Start with `#import "src/lib.typ": mahjong`. Reminds that `handy-dora.wasm` should be in the same directory as where `src/` is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here (and the second sentence is then no longer necessary).
Start with `#import "src/lib.typ": mahjong`. Reminds that `handy-dora.wasm` should be in the same directory as where `src/` is. | |
Start with `#import "@preview/handy-dora:0.1.0": mahjong`. |
Thanks for your kind work! |
Thanks! |
I am submitting
Description:
I have read and followed the submission guidelines and, in particular, I
typst.toml
file with all required keysREADME.md
with documentation for my packageLICENSE
file or linked one in myREADME.md
exclude
d PDFs or README images, if any, but not the LICENSE