1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-19 20:12:52 +02:00
Commit Graph

22 Commits

Author SHA1 Message Date
Fini Jastrow
eda8f0b517 cheat-sheet: Copy UTF16 with '\u'
[why]
Makes it even more easy to use, as the '\u' prefix seems to be quite
standard, e.g. for 'echo', 'printf', and even RFC4627.

Reference: #1059

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-26 10:34:30 +01:00
Fini Jastrow
6e361d40ca cheat-sheet: Allow click to copy on hex value
[why]
We removed the functionality with the previous commit and replaced it
with 'copy the UTF16 code' (needed for codepoints > u_FFFF).

But people might want to have the possibility to easily (by click) copy
the codepoint hex number.

[how]
Add highlighting on the hex number and allow clicking to copy the value.

[note]
The tooltip will be added in the cheat-sheet generator.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-25 19:43:59 +01:00
Fini Jastrow
bae34d36a1 cheat-sheet: Copy UTF16 instead of raw hex code
[why]
For people using JSON they need the UTF16 codes.

While 4-digit values are no problem the new Material Design Icons code
can not be used.

[how]
Copy the UTF16 values instead of the full codepoint value (as hex
string).

Fixes: #1059

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-25 17:04:03 +01:00
Ryan L McIntyre
921769c278 Hide scrollbar and parent element if no results, minor fixes 2020-12-05 06:44:04 -08:00
Ryan L McIntyre
f406ae3bf8 Reworks cheat sheet page to function better 2020-12-05 06:20:29 -08:00
Ryan L McIntyre
fb920fc0fd Reworks cheat sheet layout with flexbox and clean-up console.logs 2020-12-05 03:12:10 -08:00
Ryan L McIntyre
a0a73c77ee Styling tweaks to home and downloads pages + JS improvements
* improves download page links and adds other download/install options
* adds some more styling to home page to be a bit more striking
* removes reliance on jQuery and rewrites most of the JavaScript
* misc formatting fixes
2019-08-01 23:57:41 -07:00
Ryan L McIntyre
5a558fa29b Adds more event tracking 2019-07-28 10:45:55 -07:00
Ryan L McIntyre
bd7087a528 Clean-up 2019-07-28 10:42:00 -07:00
Ryan L McIntyre
ac6af2a4df Adds feature to be able to copy Glyph class, hex, or icon itself 2019-07-28 10:39:18 -07:00
Ryan L McIntyre
33921ff67d Tracking tweaks and fixes 2019-07-27 07:19:43 -07:00
Ryan L McIntyre
a6dab854d9 Moved and fixed images, clean-up 2019-07-27 07:01:25 -07:00
Ryan L McIntyre
ced5c9f259 Fixes cheat sheet search from home page via redirect 2019-07-27 06:43:22 -07:00
Ryan L McIntyre
95c6b4d9f3 Adds tracking for glyph searches 2019-07-27 06:42:45 -07:00
Ryan L McIntyre
608acc7218 Simplifies the DOM structure of cheat sheet page 2019-07-26 14:31:21 -07:00
Ryan L McIntyre
c8ca3b4a5f Updates jQuery for now (stop gap) 2019-07-25 14:26:01 -07:00
Ryan L McIntyre
f6c2d5de4b Bug fix 2019-07-23 14:36:58 -07:00
Ryan L McIntyre
1005ac170e Performance fix: lazy load contributor images 2019-07-14 14:06:24 -07:00
Ryan L McIntyre
c961a8726d Adds basic search on page load for glyph sets 2018-03-12 21:08:00 -04:00
Ryan L McIntyre
956345271b Fixes/adds the anchor hash to the URL 2017-11-27 20:52:01 -05:00
Ryan L McIntyre
e0a21ebb12 Adds 'Cheat Sheet' section
* lists all glyphs
* ability to search
* adds button/link to section
* moves 'Release' section to last
* adds the necessary Nerd Font
2017-04-23 17:53:09 -04:00
Ryan L McIntyre
27f0b74dd3 Moved to theme 'SinglePaged' and added better sections 2017-04-22 17:41:03 -04:00