We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#sidebar
show par: set block(spacing: 0.6em)
The text was updated successfully, but these errors were encountered:
编译 resume.typ 现在会引发以下 warning
warning: `style` is deprecated ┌─ \\?\T:\Chinese-Resume-in-Typst\template.typ:103:62 │ 103 │ #let sidebar(side, content, withLine: true, sideWidth: 12%) = style(styles => { │ ╭───────────────────────────────────────────────────────────────^ 104 │ │ let sideSize = measure(side, styles) 105 │ │ let contentSize = measure(content, styles) 106 │ │ let height = calc.max(sideSize.height, contentSize.height) + 0.5em · │ 122 │ │ ) 123 │ │ }) │ ╰──^ │ = hint: use a `context` expression instead warning: `show par: set block(spacing: ..)` has no effect anymore ┌─ \\?\T:\Chinese-Resume-in-Typst\template.typ:77:2 │ 77 │ show par: set block(spacing: 0.65em) │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │ = hint: write `set par(spacing: ..)` instead = hint: this is specific to paragraphs as they are not considered blocks anymore warning: calling `measure` with a styles argument is deprecated ┌─ \\?\T:\Chinese-Resume-in-Typst\template.typ:104:17 │ 104 │ let sideSize = measure(side, styles) │ ^^^^^^^^^^^^^^^^^^^^^ │ = hint: try removing the styles argument warning: calling `measure` with a styles argument is deprecated ┌─ \\?\T:\Chinese-Resume-in-Typst\template.typ:105:20 │ 105 │ let contentSize = measure(content, styles) │ ^^^^^^^^^^^^^^^^^^^^^^^^ │ = hint: try removing the styles argument
Sorry, something went wrong.
No branches or pull requests
#sidebar
show par: set block(spacing: 0.6em)
已不生效,需要修改为 set par(spacing: 0.6em),并且似乎作用域也出现了变化The text was updated successfully, but these errors were encountered: