Thanks to visit codestin.com
Credit goes to github.com

Skip to content

better anchors#1771

Merged
mbostock merged 1 commit intomainfrom
mbostock/better-anchors
Jul 29, 2023
Merged

better anchors#1771
mbostock merged 1 commit intomainfrom
mbostock/better-anchors

Conversation

@mbostock
Copy link
Member

No description provided.

@mbostock mbostock requested a review from Fil July 29, 2023 16:35
<ul>
<li v-for="[name, contexts] in data.options">
<b>{{ name }}</b> - <span v-for="({name, href}, index) in contexts"><a :href="href">{{ name }}</a><span v-if="index < contexts.length - 1">, </span></span>
<b>{{ name }}</b> - <span v-for="({name: context, href}, index) in contexts"><a :href="href">{{ context }}</a><span v-if="index < contexts.length - 1">, </span></span>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could use ${href}#${name} here too, if we were to add corresponding anchors on the destination page for each option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant