Skip to content

Documentation: copy-files.rst: fix missing code-block #10672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

quentin-st
Copy link
Contributor

The latest code block in Copying & Referencing Images is missing a code-block

@@ -54,6 +54,8 @@ include a hash based on their content.

To render inside Twig, use the ``asset()`` function:

.. code-block:: twig
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be .. code-block:: html+twig instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it should indeed, I'm not used to rst format :-)
Should I make the change?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking at our other code blocks I'd say yes please :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks for the insight!

@xabbuh xabbuh added this to the 3.4 milestone Nov 14, 2018
@javiereguiluz
Copy link
Member

Thanks Quentin.

javiereguiluz added a commit that referenced this pull request Nov 14, 2018
…hteuchteu)

This PR was submitted for the 4.1 branch but it was squashed and merged into the 3.4 branch instead (closes #10672).

Discussion
----------

Documentation: copy-files.rst: fix missing code-block

The latest code block in [Copying & Referencing Images](https://symfony.com/doc/current/frontend/encore/copy-files.html) is missing a `code-block`

Commits
-------

a98e0d8 Documentation: copy-files.rst: fix missing code-block
@quentin-st quentin-st deleted the patch-2 branch November 14, 2018 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants