From 52fe4c6aa682d109c5a3c0021bd915b0a79515cf Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Wed, 10 Jan 2024 19:17:09 +0800 Subject: [PATCH] Specify code block language in Markdown for syntax highlighting --- FolderScanning.md | 2 +- HowToAddNewLanguage.md | 2 +- PipelineFeature.md | 2 +- README.md | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/FolderScanning.md b/FolderScanning.md index 309b063c..6b743a7f 100644 --- a/FolderScanning.md +++ b/FolderScanning.md @@ -2,7 +2,7 @@ ### Whilst Pipelines are in alpha... You must enable this alpha functionality by setting -``` +```yaml system: enableAlphaFunctionality: true ``` diff --git a/HowToAddNewLanguage.md b/HowToAddNewLanguage.md index 4cdcedfe..1b218183 100644 --- a/HowToAddNewLanguage.md +++ b/HowToAddNewLanguage.md @@ -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 icon Polski diff --git a/PipelineFeature.md b/PipelineFeature.md index c2c935b4..8d51c3c5 100644 --- a/PipelineFeature.md +++ b/PipelineFeature.md @@ -2,7 +2,7 @@ ## Whilst Pipelines are in alpha... You must enable this alpha functionality by setting -``` +```yaml system: enableAlphaFunctionality: true ``` diff --git a/README.md b/README.md index 4d79b6a3..00309036 100644 --- a/README.md +++ b/README.md @@ -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