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

format permalinks to only show when hovering #52

Merged
merged 1 commit into from Mar 22, 2024

Conversation

mattip
Copy link
Contributor

@mattip mattip commented Mar 22, 2024

Fixes #51

Add some CSS styling to

  • hide permalinks by default
  • when hovering over the title, show the ¶ at the end of the line with a link

I find this convenient when trying figure out how to link to a particular paragraph in the documentation when writing another blog post/issue

Copy link
Contributor

@erlend-aasland erlend-aasland left a comment

Choose a reason for hiding this comment

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

LGTM! This renders very neat.

Copy link
Contributor

@fangerer fangerer left a comment

Choose a reason for hiding this comment

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

preview looks good to me as well

@fangerer fangerer merged commit b173c0a into hpyproject:main Mar 22, 2024
7 checks passed
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.

Visual regression after gh-50 enabled permalinks for all headers
3 participants