Support formatting angular syntax in markdown (#18519)
This commit is contained in:
1 parent
f92f80179a
commit
4e401ff7ea
8 files changed
+390
-1
No files matched your search
@@ -0,0 +1,16 @@
|
||||
```angular-ts
|
||||
Ugly:string
|
||||
}
|
||||
|
||||
@Component({template: `
|
||||
@if (orderForm.couponCode().disabled()) {
|
||||
<div class="info">
|
||||
@for (reason of orderForm.couponCode().disabledReasons(); track reason) {
|
||||
<p>{{ reason.message }}</p>
|
||||
}</div>
|
||||
}
|
||||
`
|
||||
})
|
||||
export class Order {
|
||||
}
|
||||
```
|
||||
Reference in new issue
Block a user