From 63fe2f0fb304b27eaeb38191b43a09a60967f5d0 Mon Sep 17 00:00:00 2001 From: Sagar B Date: Mon, 8 Sep 2025 20:44:33 +0530 Subject: [PATCH] docs: remove invalid `path =` line from MarkdownContent sample docs: fix MarkdownContent sample by removing invalid `path =` line The sample currently contains a dangling `path =` statement that causes compilation errors. This property does not exist on ContentPage, and the example already uses `doc_path` correctly in OpenUrlCommand. --- hub/powertoys/command-palette/using-markdown-content.md | 1 - 1 file changed, 1 deletion(-) diff --git a/hub/powertoys/command-palette/using-markdown-content.md b/hub/powertoys/command-palette/using-markdown-content.md index 00b0de086d..3b5aefc011 100644 --- a/hub/powertoys/command-palette/using-markdown-content.md +++ b/hub/powertoys/command-palette/using-markdown-content.md @@ -100,7 +100,6 @@ public class Page : ContentPage Icon = new("\uE8A5"); // Document icon Title = "Markdown page"; Name = "Preview file"; - path = + Commands = [ + new CommandContextItem(new OpenUrlCommand(doc_path)) { Title = "Open in File Explorer" },