Skip to content
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

Make it possible to link directly to headers #995

Open
casey opened this issue Jan 27, 2023 · 2 comments
Open

Make it possible to link directly to headers #995

casey opened this issue Jan 27, 2023 · 2 comments

Comments

@casey
Copy link

casey commented Jan 27, 2023

I prepare the reading list for SF Bitcoin Devs, and use Bitcoin Optech newsletters heavily. (Thank you!) I'll often include a link to an item, as well as a link to the Optech summary. For individual items, this works, as the HTML includes anchor tags. (for example this one).

But there isn't an easy way to get links to whole sections. For example, I'd like to include a link to this PR review club PR, but there isn't easy way to get an anchor tag from the newsletter that includes it.

It's actually possible to construct one manually, using the text of the tag, link, but it would be nice if there was a link that could be copied directly from the newsletter.

This is an incredibly minor QoL issue, so no worries if it's annoying to implement.

@bitschmidty
Copy link
Contributor

@casey thanks for hosting bitdevs and for highlighting Optech there!

There are anchor links for the the section headers as youve also discovered. I just inspect element to get the ID when I link to those sections myself (for the Optech twitter thread newsletter summaries). Those IDs/anchor links should be static for each newsletter. I defer to others on if we want a UX element surfacing that anchor link, perhaps appending a 🔗 icon after the headers, or if we leave this as is.

Note: For the PR Review section, you can also link to individual items in a similar way. Example: https://bitcoinops.org/en/newsletters/2022/12/07/#what-problem-does-this-pr-address

@harding
Copy link
Collaborator

harding commented Feb 5, 2023

If there's a not-too-ugly way to add anchor links, I'm all for it.

An alternative is that we could make the intro paragraph link to each section. E.g., here's our intro from last week with links added:

This week’s newsletter summarizes a proposal for serverless payjoin and describes an idea for allowing proof of payment for LN async payments. Also included is our regular section with descriptions of notable changes to popular Bitcoin infrastructure software.

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

No branches or pull requests

3 participants