Skip to content

Commit 5c88f86

Browse files
committed
[Site] Improving description on demo
1 parent 65b7a11 commit 5c88f86

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ux.symfony.com/src/Service/LiveDemoRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ public function findAll(): array
8686
description: 'Create an invoice + line items that updates as you type.',
8787
route: 'app_live_components_invoice',
8888
longDescription: <<<EOF
89-
A parent component with children components for each line item.
89+
Create or edit an `Invoice` entity along with child components for each related `InvoiceItem` entity.
9090
<br>
91-
Children emit events to communicate to the parent.
91+
Children components emit events to communicate to the parent and everything is saved in a `saveInvoice` LiveAction method.
9292
EOF
9393
),
9494
new LiveDemo(

ux.symfony.com/templates/liveDemoBase.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<div class="container-fluid container-xxl px-5 pt-5">
1919

2020
<section style="color: rgb(100 116 139); font-size: 14px; line-height: 1.75rem;" class="mb-2">
21-
{{ demo.longDescription|raw }}
21+
{{ demo.longDescription|markdown_to_html }}
2222
</section>
2323

2424
<div class="mb-3" style="position: relative;">

0 commit comments

Comments
 (0)