docs: Try fix mkdocs rendering of lists

This commit is contained in:
Benoit de Chezelles authored and Wez Furlong committed 2025-02-07 18:43:44 -07:00
1 parent 680ef10230
commit cb593f6af5
2 files changed
+32 -25

No files matched your search

@@ -10,7 +10,9 @@ The following parameters are possible:
* `name` - the name of the table to activate. The name must match up to an entry in the `key_tables` configuration.
* `timeout_milliseconds` - an optional duration expressed in milliseconds. If specified, then the activation will automatically expire and pop itself from the key table stack once that duration elapses. If omitted, this activation will not expire due to time.
* {{since('20220807-113146-c2fee766', inline=True)}}: the timer is reset each time you press a key that matches this key table activation, allowing for repeated key presses
* {{since('20220807-113146-c2fee766', inline=True)}}: the timer is reset each time you press a key that matches this key table activation, allowing for repeated key presses
* `one_shot` - an optional boolean that controls whether the activation will pop itself after a single additional key press. The default if left unspecified is `one_shot=true`. When set to `false`, pressing a key will not automatically pop the activation and you will need to use either a timeout or an explicit key assignment that triggers [PopKeyTable](PopKeyTable.md) to cancel the activation.
* `replace_current` - an optional boolean. Defaults to `false` if unspecified. If set to `true` then behave as though [PopKeyTable](PopKeyTable.md) was triggered before pushing this new activation on the stack. This is most useful for key assignments in a table that was activated using `one_shot=false`.
* `until_unknown` - an optional boolean. Defaults to `false` if unspecified. If set to `true` then a key press that doesn't match any entries in the named key table will implicitly pop this entry from the stack. This can be used together with `timeout_milliseconds`. {{since('20220807-113146-c2fee766', inline=True)}}
+29 -24
View File
@@ -31,37 +31,42 @@ is an optional table that can be used to specify style attributes; the
following keys are allowed:
* `weight` - specifies the weight of the font. The default value is `"Regular"`, and possible values are:
* `"Thin"`
* `"ExtraLight"`
* `"Light"`
* `"DemiLight"`
* `"Book"`
* `"Regular"`
* `"Medium"`
* `"DemiBold"`
* `"Bold"`
* `"ExtraBold"`
* `"Black"`
* `"ExtraBlack"`.
* `"Thin"`
* `"ExtraLight"`
* `"Light"`
* `"DemiLight"`
* `"Book"`
* `"Regular"` (this is the default)
* `"Medium"`
* `"DemiBold"`
* `"Bold"`
* `"ExtraBold"`
* `"Black"`
* `"ExtraBlack"`.
`weight` has been supported since version 20210502-130208-bff6815d, In earlier versions you
could use `bold=true` to get a bold font variant.
* `stretch` - specifies the font stretch to select. The default value is `"Normal"`, and possible values are:
* `"UltraCondensed"`
* `"ExtraCondensed"`
* `"Condensed"`
* `"SemiCondensed"`
* `"Normal"`
* `"SemiExpanded"`
* `"Expanded"`
* `"ExtraExpanded"`
* `"UltraExpanded"`.
* `"UltraCondensed"`
* `"ExtraCondensed"`
* `"Condensed"`
* `"SemiCondensed"`
* `"Normal"` (this is the default)
* `"SemiExpanded"`
* `"Expanded"`
* `"ExtraExpanded"`
* `"UltraExpanded"`.
`stretch` has been supported since version 20210502-130208-bff6815d.
* `style` - specifies the font style to select. The default is `"Normal"`, and possible values are:
* `"Normal"`
* `"Italic"`
* `"Oblique"`
* `"Normal"` (this is the default)
* `"Italic"`
* `"Oblique"`
`"Oblique"` and `"Italic"` fonts are similar in the sense that the glyphs
are presented at an angle. `"Italic"` fonts usually have a distinctive