diff --git a/tests/docs/examples/40_8calculation_multi_variable_parent2.md b/tests/docs/examples/40_8calculation_multi_variable_parent2.md
index 771017b51..2f2916c3b 100644
--- a/tests/docs/examples/40_8calculation_multi_variable_parent2.md
+++ b/tests/docs/examples/40_8calculation_multi_variable_parent2.md
@@ -11,7 +11,7 @@ fam1: # first family
var: no # a variable
fam2: # second family
var:
- description: a varaible
+ description: a variable
default:
variable: __.fam1.var
```
diff --git a/tests/docs/examples/60_9extra_dynamic_extra.md b/tests/docs/examples/60_9extra_dynamic_extra.md
index 8e22d240f..500e6ade2 100644
--- a/tests/docs/examples/60_9extra_dynamic_extra.md
+++ b/tests/docs/examples/60_9extra_dynamic_extra.md
@@ -21,7 +21,7 @@ version: '1.0'
```yaml
---
version: '1.1'
-var: # a varaible
+var: # a variable
- a
dyn_{{ identifier }}:
dynamic:
diff --git a/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.adoc b/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.adoc
index 12133a116..a373c0cd3 100644
--- a/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.adoc
+++ b/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.adoc
@@ -8,7 +8,7 @@ fam1: # first family
var: no # a variable
fam2: # second family
var:
- description: a varaible
+ description: a variable
default:
variable: __.fam1.var
----
@@ -40,7 +40,7 @@ A variable. +
**fam2.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
-A varaible. +
+A variable. +
**Default**: the value of the variable "fam1.var".
|====
diff --git a/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.json b/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.json
index 3c1ba4f1c..ea58ebbfa 100644
--- a/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.json
+++ b/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.json
@@ -1 +1 @@
-{"fam1": {"type": "family", "informations": {"paths": ["fam1"], "names": ["fam1"], "description": "first family", "properties": [{"type": "mode", "name": "standard"}]}, "children": {"var": {"type": "variable", "default": "no", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["fam1.var"], "names": ["var"], "descriptions": ["A variable."]}}}, "fam2": {"type": "family", "informations": {"paths": ["fam2"], "names": ["fam2"], "description": "second family", "properties": [{"type": "mode", "name": "standard"}]}, "children": {"var": {"type": "variable", "default": "the value of the variable \"fam1.var\".", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["fam2.var"], "names": ["var"], "descriptions": ["A varaible."]}}}}
\ No newline at end of file
+{"fam1": {"type": "family", "informations": {"paths": ["fam1"], "names": ["fam1"], "description": "first family", "properties": [{"type": "mode", "name": "standard"}]}, "children": {"var": {"type": "variable", "default": "no", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["fam1.var"], "names": ["var"], "descriptions": ["A variable."]}}}, "fam2": {"type": "family", "informations": {"paths": ["fam2"], "names": ["fam2"], "description": "second family", "properties": [{"type": "mode", "name": "standard"}]}, "children": {"var": {"type": "variable", "default": "the value of the variable \"fam1.var\".", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["fam2.var"], "names": ["var"], "descriptions": ["A variable."]}}}}
\ No newline at end of file
diff --git a/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.md b/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.md
index e99f06f30..e3d89c272 100644
--- a/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.md
+++ b/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.md
@@ -11,7 +11,7 @@ fam1: # first family
var: no # a variable
fam2: # second family
var:
- description: a varaible
+ description: a variable
default:
variable: __.fam1.var
```
@@ -31,5 +31,5 @@ fam2: # second family
| Variable | Description |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| **fam2.var**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A varaible.
**Default**: the value of the variable "fam1.var". |
+| **fam2.var**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.
**Default**: the value of the variable "fam1.var". |
diff --git a/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.sh b/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.sh
index 1b3cec54f..1a674a908 100644
--- a/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.sh
+++ b/tests/docs/no_namespace/40_8calculation_multi_variable_parent2.sh
@@ -7,7 +7,7 @@ fam1: # first family
var: no # a variable
fam2: # second family
var:
- description: a varaible
+ description: a variable
default:
variable: __.fam1.var
```
@@ -41,6 +41,6 @@ fam2: # second family
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[1mfam2.var[0m
- [1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A varaible.
+ [1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
[1mDefault[0m: the value of the variable "fam1.var".
diff --git a/tests/results/test/16_3family_empty_at_ends.adoc b/tests/results/test/16_3family_empty_at_ends.adoc
new file mode 100644
index 000000000..b2987334d
--- /dev/null
+++ b/tests/results/test/16_3family_empty_at_ends.adoc
@@ -0,0 +1,14 @@
+== family
+
+`basic`
+
+[cols="1a,1a"]
+|====
+| Variable | Description
+|
+
+**family.var1** +
+`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
+Var1.
+|====
+
diff --git a/tests/results/test/16_3family_empty_at_ends.json b/tests/results/test/16_3family_empty_at_ends.json
new file mode 100644
index 000000000..d1e05a893
--- /dev/null
+++ b/tests/results/test/16_3family_empty_at_ends.json
@@ -0,0 +1,44 @@
+{
+ "family": {
+ "type": "family",
+ "informations": {
+ "paths": [
+ "family"
+ ],
+ "names": [
+ "family"
+ ],
+ "properties": [
+ {
+ "type": "mode",
+ "name": "basic"
+ }
+ ]
+ },
+ "children": {
+ "family.var1": {
+ "type": "variable",
+ "properties": [
+ {
+ "type": "type",
+ "name": "string"
+ },
+ {
+ "type": "mode",
+ "name": "basic"
+ },
+ {
+ "type": "property",
+ "name": "mandatory"
+ }
+ ],
+ "paths": [
+ "family.var1"
+ ],
+ "names": [
+ "var1"
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/results/test/16_3family_empty_at_ends.md b/tests/results/test/16_3family_empty_at_ends.md
new file mode 100644
index 000000000..b8ec184a0
--- /dev/null
+++ b/tests/results/test/16_3family_empty_at_ends.md
@@ -0,0 +1,8 @@
+# family
+
+`basic`
+
+| Variable | Description |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| **family.var1**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | Var1. |
+
diff --git a/tests/results/test/16_3family_empty_at_ends.sh b/tests/results/test/16_3family_empty_at_ends.sh
new file mode 100644
index 000000000..74da9352a
--- /dev/null
+++ b/tests/results/test/16_3family_empty_at_ends.sh
@@ -0,0 +1,14 @@
+
+
+[1;4;96mfamily[0m
+
+
+[1;7m basic [0m
+
+
+┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
+┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
+┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
+│ [1mfamily.var1[0m │ Var1. │
+│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ │
+└───────────────────────────────────────┴──────────────────────────────────────┘
diff --git a/tests/results/test/40_8calculation_multi_variable_parent2.adoc b/tests/results/test/40_8calculation_multi_variable_parent2.adoc
index 90779e37c..2e4b9762c 100644
--- a/tests/results/test/40_8calculation_multi_variable_parent2.adoc
+++ b/tests/results/test/40_8calculation_multi_variable_parent2.adoc
@@ -24,7 +24,7 @@ A variable. +
**fam2.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
-A varaible. +
+A variable. +
**Default**: the value of the variable "fam1.var".
|====
diff --git a/tests/results/test/40_8calculation_multi_variable_parent2.json b/tests/results/test/40_8calculation_multi_variable_parent2.json
index 5c52ccce3..4f09a36f7 100644
--- a/tests/results/test/40_8calculation_multi_variable_parent2.json
+++ b/tests/results/test/40_8calculation_multi_variable_parent2.json
@@ -88,7 +88,7 @@
"var"
],
"descriptions": [
- "A varaible."
+ "A variable."
]
}
}
diff --git a/tests/results/test/40_8calculation_multi_variable_parent2.md b/tests/results/test/40_8calculation_multi_variable_parent2.md
index 25357cb94..3c1182b19 100644
--- a/tests/results/test/40_8calculation_multi_variable_parent2.md
+++ b/tests/results/test/40_8calculation_multi_variable_parent2.md
@@ -12,5 +12,5 @@
| Variable | Description |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| **fam2.var**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A varaible.
**Default**: the value of the variable "fam1.var". |
+| **fam2.var**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.
**Default**: the value of the variable "fam1.var". |
diff --git a/tests/results/test/40_8calculation_multi_variable_parent2.sh b/tests/results/test/40_8calculation_multi_variable_parent2.sh
index 7016e9eab..62e237aaf 100644
--- a/tests/results/test/40_8calculation_multi_variable_parent2.sh
+++ b/tests/results/test/40_8calculation_multi_variable_parent2.sh
@@ -23,7 +23,7 @@
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
-│ [1mfam2.var[0m │ A varaible. │
+│ [1mfam2.var[0m │ A variable. │
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: the value of the variable │
│ │ "fam1.var". │
└───────────────────────────────────────┴──────────────────────────────────────┘
diff --git a/tests/results/test_examples/16_3family_empty_at_ends.md b/tests/results/test_examples/16_3family_empty_at_ends.md
new file mode 100644
index 000000000..ae8b7bc9e
--- /dev/null
+++ b/tests/results/test_examples/16_3family_empty_at_ends.md
@@ -0,0 +1,14 @@
+# Example with mandatory variables not filled in
+
+```yaml
+---
+family:
+ var1: example
+```
+# Example with all variables modifiable
+
+```yaml
+---
+family:
+ var1: example
+```
diff --git a/tests/results/test_namespace/16_3family_empty_at_ends.adoc b/tests/results/test_namespace/16_3family_empty_at_ends.adoc
new file mode 100644
index 000000000..e789f3828
--- /dev/null
+++ b/tests/results/test_namespace/16_3family_empty_at_ends.adoc
@@ -0,0 +1,16 @@
+== Variables for "Rougail"
+
+=== rougail.family
+
+`basic`
+
+[cols="1a,1a"]
+|====
+| Variable | Description
+|
+
+**rougail.family.var1** +
+`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
+Var1.
+|====
+
diff --git a/tests/results/test_namespace/16_3family_empty_at_ends.json b/tests/results/test_namespace/16_3family_empty_at_ends.json
new file mode 100644
index 000000000..f91e79094
--- /dev/null
+++ b/tests/results/test_namespace/16_3family_empty_at_ends.json
@@ -0,0 +1,64 @@
+{
+ "rougail": {
+ "type": "namespace",
+ "informations": {
+ "paths": [
+ "rougail"
+ ],
+ "names": [
+ "rougail"
+ ],
+ "description": "Rougail",
+ "properties": [
+ {
+ "type": "mode",
+ "name": "basic"
+ }
+ ]
+ },
+ "children": {
+ "family": {
+ "type": "family",
+ "informations": {
+ "paths": [
+ "rougail.family"
+ ],
+ "names": [
+ "family"
+ ],
+ "properties": [
+ {
+ "type": "mode",
+ "name": "basic"
+ }
+ ]
+ },
+ "children": {
+ "rougail.family.var1": {
+ "type": "variable",
+ "properties": [
+ {
+ "type": "type",
+ "name": "string"
+ },
+ {
+ "type": "mode",
+ "name": "basic"
+ },
+ {
+ "type": "property",
+ "name": "mandatory"
+ }
+ ],
+ "paths": [
+ "rougail.family.var1"
+ ],
+ "names": [
+ "var1"
+ ]
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/tests/results/test_namespace/16_3family_empty_at_ends.md b/tests/results/test_namespace/16_3family_empty_at_ends.md
new file mode 100644
index 000000000..0b1c11321
--- /dev/null
+++ b/tests/results/test_namespace/16_3family_empty_at_ends.md
@@ -0,0 +1,10 @@
+# Variables for "Rougail"
+
+## rougail.family
+
+`basic`
+
+| Variable | Description |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| **rougail.family.var1**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | Var1. |
+
diff --git a/tests/results/test_namespace/16_3family_empty_at_ends.sh b/tests/results/test_namespace/16_3family_empty_at_ends.sh
new file mode 100644
index 000000000..f355ad4ab
--- /dev/null
+++ b/tests/results/test_namespace/16_3family_empty_at_ends.sh
@@ -0,0 +1,19 @@
+
+
+[1;4;96mVariables for [0m[1;4;96m"Rougail"[0m
+
+
+
+
+ [1;4;92mrougail.family[0m
+
+
+[1;7m basic [0m
+
+
+┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
+┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
+┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
+│ [1mrougail.family.var1[0m │ Var1. │
+│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ │
+└───────────────────────────────────────┴──────────────────────────────────────┘
diff --git a/tests/results/test_namespace/40_8calculation_multi_variable_parent2.adoc b/tests/results/test_namespace/40_8calculation_multi_variable_parent2.adoc
index 03e2f9875..5d4e84995 100644
--- a/tests/results/test_namespace/40_8calculation_multi_variable_parent2.adoc
+++ b/tests/results/test_namespace/40_8calculation_multi_variable_parent2.adoc
@@ -26,7 +26,7 @@ A variable. +
**rougail.fam2.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
-A varaible. +
+A variable. +
**Default**: the value of the variable "rougail.fam1.var".
|====
diff --git a/tests/results/test_namespace/40_8calculation_multi_variable_parent2.json b/tests/results/test_namespace/40_8calculation_multi_variable_parent2.json
index 6cf00c73f..d0a7042b3 100644
--- a/tests/results/test_namespace/40_8calculation_multi_variable_parent2.json
+++ b/tests/results/test_namespace/40_8calculation_multi_variable_parent2.json
@@ -106,7 +106,7 @@
"var"
],
"descriptions": [
- "A varaible."
+ "A variable."
]
}
}
diff --git a/tests/results/test_namespace/40_8calculation_multi_variable_parent2.md b/tests/results/test_namespace/40_8calculation_multi_variable_parent2.md
index c79602834..e84b5456a 100644
--- a/tests/results/test_namespace/40_8calculation_multi_variable_parent2.md
+++ b/tests/results/test_namespace/40_8calculation_multi_variable_parent2.md
@@ -14,5 +14,5 @@
| Variable | Description |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| **rougail.fam2.var**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A varaible.
**Default**: the value of the variable "rougail.fam1.var". |
+| **rougail.fam2.var**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.
**Default**: the value of the variable "rougail.fam1.var". |
diff --git a/tests/results/test_namespace/40_8calculation_multi_variable_parent2.sh b/tests/results/test_namespace/40_8calculation_multi_variable_parent2.sh
index e97f4a3aa..b70a510b4 100644
--- a/tests/results/test_namespace/40_8calculation_multi_variable_parent2.sh
+++ b/tests/results/test_namespace/40_8calculation_multi_variable_parent2.sh
@@ -28,7 +28,7 @@
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
-│ [1mrougail.fam2.var[0m │ A varaible. │
+│ [1mrougail.fam2.var[0m │ A variable. │
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: the value of the variable │
│ │ "rougail.fam1.var". │
└───────────────────────────────────────┴──────────────────────────────────────┘
diff --git a/tests/results/test_namespace/60_9extra_dynamic_extra.adoc b/tests/results/test_namespace/60_9extra_dynamic_extra.adoc
index c7dd627fd..668057724 100644
--- a/tests/results/test_namespace/60_9extra_dynamic_extra.adoc
+++ b/tests/results/test_namespace/60_9extra_dynamic_extra.adoc
@@ -24,7 +24,7 @@ No change. +
**extra.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
-A varaible. +
+A variable. +
**Default**: a
|====
diff --git a/tests/results/test_namespace/60_9extra_dynamic_extra.json b/tests/results/test_namespace/60_9extra_dynamic_extra.json
index 6b8c9e378..8a68a5b70 100644
--- a/tests/results/test_namespace/60_9extra_dynamic_extra.json
+++ b/tests/results/test_namespace/60_9extra_dynamic_extra.json
@@ -128,7 +128,7 @@
"var"
],
"descriptions": [
- "A varaible."
+ "A variable."
]
},
"dyn_{{ identifier }}": {
diff --git a/tests/results/test_namespace/60_9extra_dynamic_extra.md b/tests/results/test_namespace/60_9extra_dynamic_extra.md
index 8293aaa41..7cb9472a4 100644
--- a/tests/results/test_namespace/60_9extra_dynamic_extra.md
+++ b/tests/results/test_namespace/60_9extra_dynamic_extra.md
@@ -12,7 +12,7 @@
| Variable | Description |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| **extra.var**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A varaible.
**Default**: a |
+| **extra.var**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A variable.
**Default**: a |
## extra.dyn_*a*
diff --git a/tests/results/test_namespace/60_9extra_dynamic_extra.sh b/tests/results/test_namespace/60_9extra_dynamic_extra.sh
index 23ac28315..8e9206377 100644
--- a/tests/results/test_namespace/60_9extra_dynamic_extra.sh
+++ b/tests/results/test_namespace/60_9extra_dynamic_extra.sh
@@ -26,7 +26,7 @@
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
-│ [1mextra.var[0m │ A varaible. │
+│ [1mextra.var[0m │ A variable. │
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: a │
│ [1;7munique [0m [1;7m multiple [0m │ │
└───────────────────────────────────────┴──────────────────────────────────────┘
diff --git a/tests/results/test_namespace_examples/16_3family_empty_at_ends.md b/tests/results/test_namespace_examples/16_3family_empty_at_ends.md
new file mode 100644
index 000000000..ce6431e46
--- /dev/null
+++ b/tests/results/test_namespace_examples/16_3family_empty_at_ends.md
@@ -0,0 +1,16 @@
+# Example with mandatory variables not filled in
+
+```yaml
+---
+rougail:
+ family:
+ var1: example
+```
+# Example with all variables modifiable
+
+```yaml
+---
+rougail:
+ family:
+ var1: example
+```