From 68a8f785fac5e8f0dfd7376a5c60a4122f4765d7 Mon Sep 17 00:00:00 2001 From: hojmark <1203136+hojmark@users.noreply.github.com> Date: Tue, 1 Sep 2026 15:31:02 +0200 Subject: [PATCH] docs: fix formatting of schema links in README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ce26420b..481ad6bf 100644 --- a/README.md +++ b/README.md @@ -99,16 +99,14 @@ A user settings file can be created at `~/.config/drift/settings.json`. JSON Schemas are available to enable editor auto-completion and validation: -- [**Network spec schema - **](https://raw.githubusercontent.com/hojmark/drift/refs/heads/main/src/Spec/embedded_resources/schemas/drift-spec-v1-preview.schema.json) +- [**Network spec schema**](https://raw.githubusercontent.com/hojmark/drift/refs/heads/main/src/Spec/embedded_resources/schemas/drift-spec-v1-preview.schema.json) Add the `yaml-language-server` comment at the top of your spec file: ```yaml # yaml-language-server: $schema=https://raw.githubusercontent.com/hojmark/drift/refs/heads/main/src/Spec/embedded_resources/schemas/drift-spec-v1-preview.schema.json network: ... ``` -- [**User settings schema - **](https://raw.githubusercontent.com/hojmark/drift/refs/heads/main/src/Cli.Settings/embedded_resources/schemas/drift-settings-v1-preview.schema.json) +- [**User settings schema**](https://raw.githubusercontent.com/hojmark/drift/refs/heads/main/src/Cli.Settings/embedded_resources/schemas/drift-settings-v1-preview.schema.json) Add the `$schema` property at the top of your settings file: ```json {