mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-06 21:49:40 +02:00
Updates for better codepoint vs class display
This commit is contained in:
parent
86d23d68b1
commit
5949727565
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Nerd Fonts Version: 2.0.0
|
# Nerd Fonts Version: 2.0.0
|
||||||
# Script Version: 1.0.0
|
# Script Version: 1.1.0
|
||||||
# Generates CSS file for the font
|
# Generates CSS file for the font
|
||||||
|
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
@ -64,7 +64,7 @@ for var in "${!i@}"; do
|
|||||||
printf "\\n"
|
printf "\\n"
|
||||||
printf " <div class=\"nerd-font nerd-font-%s center\"></div>" "$glyph_name"
|
printf " <div class=\"nerd-font nerd-font-%s center\"></div>" "$glyph_name"
|
||||||
printf "\\n"
|
printf "\\n"
|
||||||
printf " <span>nf-%s <br/>(%s)</span>" "$glyph_name" "$glyph_code"
|
printf " <span><div class=\"class-name\">nf-%s</div><div class=\"codepoint\">%s</div></span>" "$glyph_name" "$glyph_code"
|
||||||
printf "\\n"
|
printf "\\n"
|
||||||
printf "</div>"
|
printf "</div>"
|
||||||
printf "\\n"
|
printf "\\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user