From 78d4075ec87f8823269ac50ce04335e740826641 Mon Sep 17 00:00:00 2001 From: Eric Windmill Date: Wed, 18 Dec 2024 16:38:57 -0500 Subject: [PATCH] Adds language to markdown code block --- src/content/tools/pub/workspaces.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/content/tools/pub/workspaces.md b/src/content/tools/pub/workspaces.md index b03637014e..dca1ee6317 100644 --- a/src/content/tools/pub/workspaces.md +++ b/src/content/tools/pub/workspaces.md @@ -119,7 +119,7 @@ Therefore `pub get` will delete any `pubspec.lock` and `.dart_tool/package_config.json` located in directories between the root and (including) any workspace package. -``` +```plaintext / pubspec.yaml # Root packages/ @@ -137,7 +137,8 @@ report an error and fail to resolve, as resolving such a `pubspec.yaml` would create a `.dart_tool/package_config.json` file that shadows the one at the root. For example: -``` + +```plaintext / pubspec.yaml # Root `workspace: ['foo/']` packages/