Skip to content

Commit e0e01f9

Browse files
Merge pull request #7159 from syncfusion-content/930500-UG
Updated code snippet syntax
2 parents 3360140 + 85f23e0 commit e0e01f9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

blazor/smart-ai-solutions/ai-samples/kanban/smart-task-suggestion.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ The Kanban AI interface starts with a simple form where users provide **Project
241241
- **Generate Button:** A progress-enabled button that calls `GenerateTasks()` to start AI-based task creation.
242242

243243
{% tabs %}
244-
{% highlight %}
244+
{% highlight razor %}
245245

246246
<div class="e-rte-label1" >
247247
<label>Project Details</label>
@@ -320,7 +320,7 @@ The Kanban board uses `SfKanban` to organize tasks into columns like **To Do**,
320320
- **Dynamic Binding:** The [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Kanban.SfKanban-1.html#Syncfusion_Blazor_Kanban_SfKanban_1_DataSource) property binds to `smartSuggestion`, ensuring that newly generated tasks appear instantly.
321321

322322
{% tabs %}
323-
{% highlight %}
323+
{% highlight razor %}
324324

325325
<SfKanban TValue="SmartSuggestionDataModel" KeyField="Status" DataSource="@smartSuggestion">
326326
<KanbanColumns>
@@ -365,7 +365,7 @@ When users switch to **Backlog View**, tasks are displayed in a grid using `SfGr
365365
- **Data Binding:** The [DataSource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_DataSource) property binds to `smartSuggestion`, just like Kanban.
366366

367367
{% tabs %}
368-
{% highlight %}
368+
{% highlight razor %}
369369

370370
<SfGrid DataSource="@smartSuggestion" AllowPaging="true" Toolbar="@(new List<string>() { "Add" })">
371371
<GridEvents OnActionBegin="TaskEditingHandler" RowCreated="RowCreatedHandler" TValue="SmartSuggestionDataModel"></GridEvents>
@@ -408,7 +408,7 @@ When users switch to **Backlog View**, tasks are displayed in a grid using `SfGr
408408
**View Toggle:** Users can switch between **Kanban** and **Grid** using the button below:
409409

410410
{% tabs %}
411-
{% highlight %}
411+
{% highlight razor %}
412412

413413
<SfButton OnClick="GoToBacklogBoardView" Content="@BacklogButtonViewContent"></SfButton>
414414

blazor/smart-ai-solutions/ai-samples/rich-text-editor/writting-assistance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ The dialog is divided into two main rows:
307307
- **Replace:** Inserts the AI-generated content back into the original editor with undo support.
308308

309309
{% tabs %}
310-
{% highlight %}
310+
{% highlight razor %}
311311

312312
<SfDialog @bind-Visible="@dialogVisible" AllowPrerender="true" CssClass="e-rte-elements custom-dialog" ZIndex="1000" ShowCloseIcon="true" IsModal="true" Width="80%" Height="100%" Target="#rteSection">
313313
<DialogTemplates>
@@ -571,7 +571,7 @@ Once the AI-generated content is ready, it needs to be inserted exactly where th
571571
Additionally, users can copy the AI-generated content to the clipboard for use elsewhere. This is handled via a `JavaScript interop` function that copies plain text extracted from the AI result.
572572

573573
{% tabs %}
574-
{% highlight %}
574+
{% highlight razor %}
575575

576576
<FooterTemplate>
577577
<SfButton Disabled="@enabelContentButton" @onclick="CopyContent">Copy</SfButton>

0 commit comments

Comments
 (0)