Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 7d9079a

Browse files
committed
Use bullet list for different renderer types
1 parent aec2d45 commit 7d9079a

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

docs/book/v3/getting-started/quick-start.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -590,18 +590,26 @@ The above looks for a query string parameter "target", and uses its value to
590590
provide to the template, which is then rendered and returned in an HTML
591591
response.
592592
593-
Now, let's edit the template file to have the one of the following header lines (use the one for your chosen template renderer):
594-
595-
```html
596-
<!-- plates -->
597-
<h1>Hello <?= $this->e($target) ?></h1>
598-
599-
<!-- zend-view -->
600-
<h1>Hello <?= $this->target ?></h1>
601-
602-
<!-- twig -->
603-
<h1>Hello {{ target }}</h1>
604-
```
593+
Now, let's edit the template file to have the one of the following header lines
594+
(use the one for your chosen template renderer):
595+
596+
- Plates
597+
```php
598+
<!-- plates -->
599+
<h1>Hello <?= $this->e($target) ?></h1>
600+
```
601+
602+
- zend-view
603+
```php
604+
<!-- zend-view -->
605+
<h1>Hello <?= $this->target ?></h1>
606+
```
607+
608+
- Twig
609+
```twig
610+
<!-- twig -->
611+
<h1>Hello {{ target }}</h1>
612+
```
605613

606614
While the handler is registered with the container, the application does not yet
607615
know how to get to it. Let's fix that.

0 commit comments

Comments
 (0)