Specify code block language in Markdown for syntax highlighting

This commit is contained in:
Peter Dave Hello 2024-01-10 19:17:09 +08:00
parent 50ee829e5f
commit 52fe4c6aa6
4 changed files with 7 additions and 7 deletions

View file

@ -2,7 +2,7 @@
### Whilst Pipelines are in alpha... ### Whilst Pipelines are in alpha...
You must enable this alpha functionality by setting You must enable this alpha functionality by setting
``` ```yaml
system: system:
enableAlphaFunctionality: true enableAlphaFunctionality: true
``` ```

View file

@ -16,7 +16,7 @@ If your language isnt represented by a flag just find whichever closely matches
For example to add Polish you would add For example to add Polish you would add
``` ```html
<a class="dropdown-item lang_dropdown-item" href="" data-language-code="pl_PL"> <a class="dropdown-item lang_dropdown-item" href="" data-language-code="pl_PL">
<img src="images/flags/pl.svg" alt="icon" width="20" height="15"> Polski <img src="images/flags/pl.svg" alt="icon" width="20" height="15"> Polski
</a> </a>

View file

@ -2,7 +2,7 @@
## Whilst Pipelines are in alpha... ## Whilst Pipelines are in alpha...
You must enable this alpha functionality by setting You must enable this alpha functionality by setting
``` ```yaml
system: system:
enableAlphaFunctionality: true enableAlphaFunctionality: true
``` ```

View file

@ -109,7 +109,7 @@ For people that don't mind about space optimization just use the latest tag.
![Docker Image Size (tag)](https://img.shields.io/docker/image-size/frooodle/s-pdf/latest-ultra-lite?label=Stirling-PDF%20Ultra-Lite) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/frooodle/s-pdf/latest-ultra-lite?label=Stirling-PDF%20Ultra-Lite)
Docker Run Docker Run
``` ```bash
docker run -d \ docker run -d \
-p 8080:8080 \ -p 8080:8080 \
-v /location/of/trainingData:/usr/share/tesseract-ocr/5/tessdata \ -v /location/of/trainingData:/usr/share/tesseract-ocr/5/tessdata \
@ -125,7 +125,7 @@ docker run -d \
-v /location/of/customFiles:/customFiles \ -v /location/of/customFiles:/customFiles \
``` ```
Docker Compose Docker Compose
``` ```yaml
version: '3.3' version: '3.3'
services: services:
stirling-pdf: stirling-pdf:
@ -197,7 +197,7 @@ This file is located in the ``/configs`` directory and follows standard YAML for
Environment variables are also supported and would override the settings file Environment variables are also supported and would override the settings file
For example in the settings.yml you have For example in the settings.yml you have
``` ```yaml
system: system:
defaultLocale: 'en-US' defaultLocale: 'en-US'
``` ```
@ -205,7 +205,7 @@ system:
To have this via an environment variable you would have ``SYSTEM_DEFAULTLOCALE`` To have this via an environment variable you would have ``SYSTEM_DEFAULTLOCALE``
The Current list of settings is The Current list of settings is
``` ```yaml
security: security:
enableLogin: false # set to 'true' to enable login enableLogin: false # set to 'true' to enable login
csrfDisabled: true csrfDisabled: true