diff --git a/rules/editor-required-blazor-component-parameters/rule.md b/rules/editor-required-blazor-component-parameters/rule.md
index 280dc8179dc..388e13ab0a1 100644
--- a/rules/editor-required-blazor-component-parameters/rule.md
+++ b/rules/editor-required-blazor-component-parameters/rule.md
@@ -18,7 +18,9 @@ You should use the `[EditorRequired]` attribute to mark parameters that are requ
-`TestComponent.razor`
+
+
+**TestComponent.razor**
```razor
@Name
@@ -28,8 +30,9 @@ You should use the `[EditorRequired]` attribute to mark parameters that are requ
public string? Name { get; set; }
}
```
+
-`Index.razor`
+**Index.razor**
```razor
@page "/"
@@ -44,7 +47,9 @@ Figure: Bad example - Developers could forget to pass a variable to the Name pro
:::
-`TestComponent.razor`
+
+
+**TestComponent.razor**
```razor
@Name
@@ -55,7 +60,9 @@ Figure: Bad example - Developers could forget to pass a variable to the Name pro
}
```
-`Index.razor`
+
+
+**Index.razor**
```razor
@page "/"
@@ -70,6 +77,8 @@ Figure: Bad example - Developers could forget to pass a variable to the Name pro
:::
+
+
You should configure this warning (RZ2012) as an error so your IDE will fail to build if you are missing a required parameter. Add `RZ2012` to your Blazor .csproj file:
```xml