From c613de503fa1ee0f83d32c573254b90045833360 Mon Sep 17 00:00:00 2001 From: Josh Carter Date: Fri, 27 Jul 2018 19:23:42 -0600 Subject: [PATCH] README fix for keys with labels. Couldn't get the README example with key labels to work. It appears that you need to use keytext() as a child of the key. Updated example produces output matching the screenshot. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ac8d846..518baa0 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ If you wanted to generate some 2u stabilized keycaps for an Ergodox for instance ``` legends = ["Enter", "Escape", "Tab", "Shift"]; for(y=[0:3]) { - translate_u(0,y) 2u() dsa_row() stabilized() cherry() key(legends[y], inset=true); + translate_u(0,y) 2u() dsa_row() stabilized() cherry() key(inset=true) { keytext(legends[y], [0,0], 6); } } ```