doc: fix syntax highlighting in code blocks

- remove json syntax highlighting from invalid json block
- fix warning about unknown lexer `conf`
- fix syntax highlighting for example htaccess
This commit is contained in:
nodiscc 2023-09-25 15:16:16 +02:00
parent 9230af464d
commit 5dd9bc93e1
No known key found for this signature in database
GPG key ID: 067FC4266A4B6909
3 changed files with 3 additions and 3 deletions

View file

@ -68,7 +68,7 @@ See also [proxy-related](https://github.com/shaarli/Shaarli/issues?utf8=%E2%9C%9
## HAProxy ## HAProxy
```conf ```
global global
[...] [...]

View file

@ -22,7 +22,7 @@ Some settings can be configured directly from a web browser by accesing the `Too
## Configuration file example ## Configuration file example
```json ```
<?php /* <?php /*
{ {
"credentials": { "credentials": {

View file

@ -40,7 +40,7 @@ Shaarli redirections will not work properly. To solve this, assign a local domai
- On hosts (such as **free.fr**) which only support PHP 5.6, Shaarli [v0.10.4](https://github.com/shaarli/Shaarli/releases/tag/v0.10.4) is the maximum supported version. At the root of your webspace create a `sessions` directory and a `.htaccess` file containing: - On hosts (such as **free.fr**) which only support PHP 5.6, Shaarli [v0.10.4](https://github.com/shaarli/Shaarli/releases/tag/v0.10.4) is the maximum supported version. At the root of your webspace create a `sessions` directory and a `.htaccess` file containing:
```xml ```apacheconf
<IfDefine Free> <IfDefine Free>
php56 1 php56 1
</IfDefine> </IfDefine>