Skip to content

Commit 1da23f6

Browse files
committed
Update code block language to bash in docs
Changed code block language identifiers from 'properties' to 'bash' in documentation files for consistency and improved syntax highlighting.
1 parent 26098d2 commit 1da23f6

7 files changed

Lines changed: 8 additions & 7 deletions

File tree

docmd/content/features/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This functionality allows users to interact with `<input type="file">` elements
1515
**Configuration:**
1616

1717
Controlled by properties in `app/src/main/assets/swv.properties`:
18-
```properties
18+
```bash
1919
# Globally enable/disable file input.
2020
feature.uploads=true
2121

docmd/content/plugins/biometric-auth.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
title: 'Biometric Auth Plugin'
23
description: 'Securing the app with fingerprint or face unlock.'
34
icon: 'fingerprint'
@@ -26,7 +27,7 @@ The authentication flow is designed to be a true security gate.
2627
1. **Enable Plugin:** Ensure `BiometricPlugin` is listed in the `plugins.enabled` property in `app/src/main/assets/swv.properties`.
2728
2. **Configure Auth on Launch:** To enable authentication every time the app starts, set the `biometric.trigger.launch` property to `true` in `swv.properties`.
2829

29-
```properties
30+
```bash
3031
# In swv.properties
3132
plugins.enabled=BiometricPlugin,...
3233

docmd/content/plugins/creating-plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ You have two primary ways to trigger native code from your web content:
8686
## 5. Enable and Test
8787

8888
1. **Enable the Plugin:** Open `app/src/main/assets/swv.properties`. Add your plugin's name (from `getPluginName()`) to the `plugins.enabled` list.
89-
```properties
89+
```bash
9090
# swv.properties
9191
plugins.enabled=...,MyCustomPlugin
9292
```

docmd/content/plugins/dialog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The plugin injects a JavaScript object (`window.Dialog`) into your WebView. You
1818

1919
Ensure `DialogPlugin` is listed in the `plugins.enabled` property in `app/src/main/assets/swv.properties`.
2020

21-
```properties
21+
```bash
2222
# In swv.properties
2323
plugins.enabled=DialogPlugin,ToastPlugin,...
2424
```

docmd/content/plugins/image-compression.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ All Premium Plugins are now available for free and open source to developers. Co
1515
## Setup and Configuration
1616

1717
1. **Enable Plugin:** Ensure `ImageCompressionPlugin` is listed in the `plugins.enabled` property in `app/src/main/assets/swv.properties`.
18-
```properties
18+
```bash
1919
# In swv.properties
2020
plugins.enabled=ImageCompressionPlugin,...
2121
```

docmd/content/plugins/qr-barcode-reader.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ All Premium Plugins are now available for free and open source to developers. Co
1515
## Setup and Configuration
1616

1717
1. **Enable Plugin:** Add `QRScannerPlugin` to the `plugins.enabled` list in `app/src/main/assets/swv.properties`.
18-
```properties
18+
```bash
1919
# In swv.properties
2020
plugins.enabled=QRScannerPlugin,ToastPlugin,...
2121
```

docmd/content/plugins/toast.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The `ToastPlugin` is included as a basic example of how the plugin architecture
1919
## Setup & Configuration
2020

2121
1. **Enable Plugin:** Ensure `ToastPlugin` is listed in the `plugins.enabled` property in `app/src/main/assets/swv.properties`.
22-
```properties
22+
```bash
2323
plugins.enabled=...,ToastPlugin
2424
```
2525

0 commit comments

Comments
 (0)