matrix/Element/README.md: fix formatting

This commit is contained in:
Aminda Suomalainen 2024-01-30 15:35:49 +02:00
parent fc36d07b8c
commit 867724c1d0
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -1,17 +1,32 @@
Element config.json # Element config.json
Initially copied from https://develop.element.io/config.json, but modified. Initially copied from https://develop.element.io/config.json, but it has
evolved.
Placement: <!-- editorconfig-checker-disable -->
<!-- prettier-ignore-start -->
Flatpak: `~/.var/app/im.riot.Riot/config/Riot/config.json` <!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- or `~/.var/app/im.riot.Riot/config/Element-PROFILENAMEHERE/config.json` - [Placement](#placement)
- Linux: `~/.config/Element/config.json` or `~/.config/Element-PROFILENAMEHERE/config.json` - [Labs features for config.json](#labs-features-for-configjson)
- failing that it appears to read `~/.config/Riot/*` should that exist.
- Windows: `%APPDATA%\Element\config.json`
Labs features: <!-- END doctoc generated TOC please keep comment here to allow auto update -->
<!-- prettier-ignore-end -->
<!-- editorconfig-checker-enable -->
## Placement
- Flatpak: `~/.var/app/im.riot.Riot/config/Riot/config.json`
or `~/.var/app/im.riot.Riot/config/Element-PROFILENAMEHERE/config.json`
- Linux outside of flatpak: `~/.config/Element/config.json` or `~/.config/Element-PROFILENAMEHERE/config.json`
- failing that it appears to also read `~/.config/Riot/*` should that exist.
- Windows: `%APPDATA%\Element\config.json` or youcan figure out the profile
name if you use Windows.
## Labs features for config.json
- https://github.com/vector-im/element-web/blob/develop/docs/labs.md - https://github.com/vector-im/element-web/blob/develop/docs/labs.md
- https://github.com/matrix-org/matrix-react-sdk/blob/develop/src/settings/Settings.tsx - https://github.com/matrix-org/matrix-react-sdk/blob/develop/src/settings/Settings.tsx