docs: Remove label property from documentation

This commit is contained in:
Joel Spadin
2023-10-06 20:49:58 -05:00
parent d4e8dee444
commit 5ecd3521f5
24 changed files with 51 additions and 83 deletions

View File

@@ -34,7 +34,6 @@ As an example, you can now define a mod-morph that swaps `;` and `:` so that the
```dts
col_semi: colon_semicolon {
compatible = "zmk,behavior-mod-morph";
label = "COLON_SEMICOLON";
#binding-cells = <0>;
bindings = <&kp COLON>, <&kp SEMI>;
mods = <(MOD_LSFT|MOD_RSFT)>;
@@ -48,9 +47,8 @@ As an example, you can now define a mod-morph that swaps `;` and `:` so that the
As a simple example, you could define a macro that puts any keycode provided between double quotes as below, then use it like `&ql A` in your keymap:
```dts
ql: quoted_letter_macro {
ql: quoted_letter {
#binding-cells = <1>;
label = "QUOTED_LETTER";
compatible = "zmk,behavior-macro-one-param";
bindings =
<&kp DQT>,
@@ -293,3 +291,7 @@ Also a big thank you to contributors that submit patches and perform reviews, te
[urob]: https://github.com/urob
[filterpaper]: https://github.com/filterpaper
[ReFil]: https://github.com/ReFil
## Article Updates
- 12/2023: Removed the deprecated `label` property from code snippets.