nerd-fonts/bin/scripts/data/cheatsheet-head.txt
Fini Jastrow a67edd47dd generate-css: Generate full cheat sheet file [skip ci]
[why]
The script just creates the 'database' or the cheat sheet, but the
surrounding elements have to be added manually.

We do not like 'manually'.

[how]
Take the current cheat sheet code and rip top and bottom off, to glue it
to the generated 'database'.

Also change the filename like the final file would be named.

Well this is still not automated, but at least this is the first step in
that direction.

On the GH pages, there release and everyting is manual at the moment.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-11 19:56:37 +02:00

25 lines
733 B
Text

---
title: "Cheat Sheet"
short_title: "Icons"
bg: gray
color: "#0fbfcf"
fa-icon: search
page: cheat-sheet
style: container
---
<h1 class="center">Cheat Sheet</h1>
<input type="text" id="glyphSearch" placeholder="Search for glyphs/icons..." title="Type in a glyph name or hex codepoint" class="nerd-font-cheat-sheet-search nerd-font-input tertiary sanity-test" />
<div class="center">
<h5 class="inlineblock nerd-font-button tertiary" id="glyphSearchButton">
<i class="nf nf-fa-search"></i>&nbsp;Search
</h5>
<h5 class="inlineblock nerd-font-button tertiary" id="glyphSearchAllButton">
<i class="nf nf-mdi-select_all"></i>&nbsp;Show All Icons
</h5>
</div>
<div id="glyphCheatSheet" class="nerd-font-cheat-sheet">