Change doc formatting of arguments in callbacks and functions

- Use a single code fence for the entire signature. Some where uses the one, some the other format. This unifies to the single fence that's easy to read and avoids extra visual boxes.
- Removed names from arguments as that's not valid syntax at the moment.
This commit is contained in:
Simon Hausmann 2023-08-30 14:30:07 +02:00 committed by Simon Hausmann
parent 50481e3387
commit 2b7aa6ba2d
7 changed files with 21 additions and 17 deletions

View file

@ -27,7 +27,7 @@ shortcut will be implemented in a future version: <https://github.com/slint-ui/s
### Callbacks
- **`edited(`_`string`_`)`**: Emitted when the text has changed because the user modified it
- **`edited(string)`**: Emitted when the text has changed because the user modified it
### Example