Skip to content

Commit 305d116

Browse files
Fix code block formatting in templates.md
Corrected code block syntax for Gantt Chart template example.
1 parent 89ccf72 commit 305d116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blazor/gantt-chart/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Most templates used in the Gantt Chart are of type `RenderFragment<T>` and are p
2222

2323
For example, the data in a column template can be accessed using `context` as shown below:
2424

25-
```cs
25+
```cshtml
2626
<GanttColumn Field="TaskName" HeaderText="Task">
2727
<Template Context="context">
2828
@context.TaskName

0 commit comments

Comments
 (0)