commit eed51b75e32045db388eb51a1bb0ee08e40f84b8
parent 3d4de4722035dd37b6e107a0ab600d3a295ded2f
Author: lumidify <nobody@lumidify.org>
Date: Tue, 3 Jan 2023 21:27:29 +0100
Remove 't escaping' for .gph
Diffstat:
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/baked_stuff.md b/baked_stuff.md
@@ -117,7 +117,7 @@ Images:
* If the glazing is not chocolate but some sort of sugar mixture, add it when the
Lebkuchen is still hot so it dries
* You can also add nuts to it. Let your imagination run free, at least within bounds.
- * The dough is really sticky and difficult to work with. When spreading it into a
+ * The dough is really sticky and difficult to work with. When spreading it onto a
tray, I always dip my hands in water before so it doesn't stick as much, and I just
spread it with my fingers instead of trying to use a rolling pin.
diff --git a/gen_recipes.sh b/gen_recipes.sh
@@ -37,8 +37,8 @@ echo '\nGopher menu version (with direct links to images):' >> gph/recipes/index
for i in recipes/*.md
do
base=`basename $i .md`
+ # FIXME: handle '[' properly, in case it ever is written at the beginning of a line
tail -n +3 $i |
- sed 's/^t/&&/' | # duplicate 't' because of quirk in gph format
sed 's/(\[\([^]]*\)\](\([^)]*\)))/[(\1)](\2)/g' | # move parentheses into image name
sed -r 's/^([[:space:]]*)\[([^]]*)\]\(([^)]*)\)$/[\1\2](\3)/' | # move indent into image name
sed 's/^\[\([^]]*\)\](\([^)]*\))$/[I|\1|\/recipes\/\2|server|port]/g' > gph/recipes/$base.gph # generate gph links
diff --git a/spice_mixes.md b/spice_mixes.md
@@ -37,6 +37,7 @@ Image:
+ 1 tsp (1g) coriander
+ 1/2 tsp (1g) cardamom (only the seeds, don't include the shells)
+ 1 tsp (1g) ginger powder
+ FIXME: tsp is wrong for nutmeg!
+ 1/4 tsp (1/2g) ground nutmeg (possibly increase if using pre-ground since that isn't nearly as strong)
+ 1/4 tsp (1/2g) mace powder
+ ~2 1/2 pieces (2g) star anise (whole "star", not just seeds)