From eef27c854b10ff55f9f4defaeac1329efdab94dd Mon Sep 17 00:00:00 2001 From: Benjamin Loison <12752145+Benjamin-Loison@users.noreply.github.com> Date: Tue, 15 Aug 2023 22:04:35 +0200 Subject: [PATCH] Add JSON and Bash syntax highlighting to `README.md` (#187) --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1b41d5b..3b8b91e 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Note that this project uses [Go modules](https://github.com/golang/go/wiki/Modul Edit the following files: 1. `plugin.json` with your `id`, `name`, and `description`: -``` +```json { "id": "com.example.my-plugin", "name": "My Plugin", @@ -81,13 +81,13 @@ make deploy ``` You may also customize the Unix socket path: -``` +```bash export MM_LOCALSOCKETPATH=/var/tmp/alternate_local.socket make deploy ``` If developing a plugin with a webapp, watch for changes and deploy those automatically: -``` +```bash export MM_SERVICESETTINGS_SITEURL=http://localhost:8065 export MM_ADMIN_TOKEN=j44acwd8obn78cdcx7koid4jkr make watch @@ -96,7 +96,7 @@ make watch ### Deploying with credentials Alternatively, you can authenticate with the server's API with credentials: -``` +```bash export MM_SERVICESETTINGS_SITEURL=http://localhost:8065 export MM_ADMIN_USERNAME=admin export MM_ADMIN_PASSWORD=password @@ -104,7 +104,7 @@ make deploy ``` or with a [personal access token](https://docs.mattermost.com/developer/personal-access-tokens.html): -``` +```bash export MM_SERVICESETTINGS_SITEURL=http://localhost:8065 export MM_ADMIN_TOKEN=j44acwd8obn78cdcx7koid4jkr make deploy