typst / webapp-issues

Issue tracker for Typst's web app.
https://typst.app
12 stars 0 forks source link

Wrong URL anchor in documentation for associated function parameter #300

Open MDLC01 opened 6 months ago

MDLC01 commented 6 months ago

Description

This is best explained by the steps to reproduce:

  1. Go to https://typst.app/docs/reference/layout/grid/#definitions-cell and navigate to the signature of the cell function.
  2. Click on any parameter name.
  3. Notice how the page does not scroll to the parameter's documentation.

This is because the URL changes to #definitions-cell-parameters-{} instead of #definitions-cell-{}.

Reproduction URL

https://typst.app/docs/reference/layout/grid/#definitions-cell

Browsers

No response

OS

No response