Skip to content

Commit

Permalink
docs: update the syntax highlighting for angular (#5668)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgechev authored Jul 19, 2024
1 parent 3f0e5d2 commit e420d00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/framework/angular/angular-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Example:
})
```

```angular2html
```angular-html
<tbody>
@for (row of table.getRowModel().rows; track row.id) {
Expand Down Expand Up @@ -89,7 +89,7 @@ In most cases, each TemplateRef will be rendered with the $implicit context valu
- Cell: `CellContext<T, ?>`,
- Footer: `HeaderContext<T, ?>`

```angular17html
```angular-html
<ng-container
*flexRender="
Expand All @@ -111,7 +111,7 @@ In most cases, each TemplateRef will be rendered with the $implicit context valu

Full example:

```ts
```angular-ts
import type {
CellContext,
ColumnDef,
Expand Down Expand Up @@ -251,7 +251,7 @@ is then defined to be used in the component. If any of the context properties ar
needed in your component, feel free to use them. Please take note that only input signal is supported,
when defining access to context properties, using this approach.

```ts
```angular-ts
@Component({
template: `
<input
Expand Down

0 comments on commit e420d00

Please sign in to comment.