Skip to content

Commit 63fe2f0

Browse files
authored
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.
1 parent 428e61f commit 63fe2f0

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

hub/powertoys/command-palette/using-markdown-content.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ public class <ExtensionName>Page : ContentPage
100100
Icon = new("\uE8A5"); // Document icon
101101
Title = "Markdown page";
102102
Name = "Preview file";
103-
path =
104103

105104
+ Commands = [
106105
+ new CommandContextItem(new OpenUrlCommand(doc_path)) { Title = "Open in File Explorer" },

0 commit comments

Comments
 (0)