neo4j-documentation / docs-ui

Mozilla Public License 2.0
4 stars 23 forks source link

Improve label behavior with table of contents #209

Closed stefano-ottolenghi closed 7 months ago

stefano-ottolenghi commented 8 months ago

This is how it looks now, with label close to heading and the label content going into the ToC entry Screenshot from 2024-01-17 12-12-47

After the changes, the same asciidoc (with an explicit anchor) renders to with-anchor

Notice that if the anchor is omitted, and antora autogenerates the heading id, the label ends up in the anchor without-anchor

netlify[bot] commented 8 months ago

Deploy Preview for neo4j-docs-ui ready!

Name Link
Latest commit 46b74a7fbfe761468a857fe25d9a66f4ef323783
Latest deploy log https://app.netlify.com/sites/neo4j-docs-ui/deploys/65b0e1e70badb20008511f60
Deploy Preview https://deploy-preview-209--neo4j-docs-ui.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

stefano-ottolenghi commented 7 months ago

Superseded by #211 .