Skip to content

Commit 9535e0f

Browse files
committed
minor #2692 [Turbo] Minor documentation syntax fixes (seb-jean)
This PR was squashed before being merged into the 2.x branch. Discussion ---------- [Turbo] Minor documentation syntax fixes | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | yes | Issues | Fix #... | License | MIT Fixed documentation regarding blocks when using broadcast. Blocks are not required. Commits ------- 6c422ee [Turbo] Minor documentation syntax fixes
2 parents 4550368 + 6c422ee commit 9535e0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Turbo/doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ The ``Broadcast`` attribute comes with a set of handy options:
901901
- ``template`` (``string``): Twig template to render (see above)
902902

903903
The ``Broadcast`` attribute can be repeated (e.g. you can have multiple
904-
`#[Broadcast]`. This is convenient to render several templates associated with
904+
``#[Broadcast]``. This is convenient to render several templates associated with
905905
their own topics for the same change (e.g. the same data is rendered in different
906906
way in the list and in the detail pages).
907907

@@ -914,7 +914,7 @@ are supported:
914914
- ``sse_retry`` (``int``): ``retry`` field of the SSE
915915

916916
The Mercure broadcaster also supports `Expression Language`_ in topics
917-
by starting with `@=`.
917+
by starting with ``@=``.
918918

919919
Example::
920920

0 commit comments

Comments
 (0)