1
0
mirror of https://github.com/Stirling-Tools/Stirling-PDF.git synced 2024-11-23 15:21:25 +01:00

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...
You must enable this alpha functionality by setting
```
```yaml
system:
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
```
```html
<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
</a>

View File

@ -2,7 +2,7 @@
## Whilst Pipelines are in alpha...
You must enable this alpha functionality by setting
```
```yaml
system:
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 Run
```
```bash
docker run -d \
-p 8080:8080 \
-v /location/of/trainingData:/usr/share/tesseract-ocr/5/tessdata \
@ -125,7 +125,7 @@ docker run -d \
-v /location/of/customFiles:/customFiles \
```
Docker Compose
```
```yaml
version: '3.3'
services:
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
For example in the settings.yml you have
```
```yaml
system:
defaultLocale: 'en-US'
```
@ -205,7 +205,7 @@ system:
To have this via an environment variable you would have ``SYSTEM_DEFAULTLOCALE``
The Current list of settings is
```
```yaml
security:
enableLogin: false # set to 'true' to enable login
csrfDisabled: true