Skip to content

Conversation

jwortmann
Copy link
Member

A little tweak which adds a <kbd> tag for the keyboard keys and also a <body> tag1 with unique id for the signature help popup.

I have adjusted the CSS style for the <kbd> tag a bit, beacause the default style from mdpopups uses a too high contrast against the background color in my opinion. The style will also apply to regular hover popups if they contain literal <kbd> HTML tags.

Mariana Breakers
Before before1 before2
After after1 after2
mdpopups default style for <kbd> default1 default2

Footnotes

  1. The <body> tag will not be the outermost tag in the minihtml, because mdpopups still adds its own <div> wrapper tag around it, but there is nothing we can do about that and it won't affect the functionality.

@rchl rchl merged commit 00ce15c into sublimelsp:main Nov 9, 2023
@jwortmann jwortmann deleted the sighelp-kbd branch November 10, 2023 07:20
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.

2 participants