mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 04:16:28 +00:00
minor #1203 Change wording of indentation coding standards (mdavis1982)
This PR was merged into the master branch. Discussion ---------- Change wording of indentation coding standards The documentation says to use indentation consistent with the main language of the **File**. But in a Twig template, that language is going to be Twig. This PR changes the wording to indicate that the indentation rules inside tags should be consistent with the main language of the **Project** Twig is being used within. ``` | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | none ``` Commits -------435e3b2Update wording of the indentation coding standards documentation09b58e1Change wording of indentation coding standards
This commit is contained in:
@@ -90,7 +90,7 @@ standards:
|
||||
{% set foo_bar = 'foo' %}
|
||||
|
||||
* Indent your code inside tags (use the same indentation as the one used for
|
||||
the main language of the file):
|
||||
the target language of the rendered template):
|
||||
|
||||
.. code-block:: jinja
|
||||
|
||||
|
||||
Reference in New Issue
Block a user