Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit35ad405

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: [Contributing] Mention `php-symfony` and `php-standalone` markup formats
2 parents154e0d9 +828e566 commit35ad405

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

‎contributing/documentation/format.rst‎

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,26 @@ The previous reStructuredText snippet renders as follow:
9090
9191
// Configuration in PHP
9292
93+
All code examples assume that you are using that feature inside a Symfony
94+
application. If you ever need to also show how to use it when working with
95+
standalone components in any PHP application, use the special formats
96+
``php-symfony`` and ``php-standalone``, which will be rendered like this:
97+
98+
..configuration-block::
99+
100+
..code-block::php-symfony
101+
102+
// PHP code using features provided by the Symfony framework
103+
104+
..code-block::php-standalone
105+
106+
// PHP code using standalone components
107+
93108
The current list of supported formats are the following:
94109

95-
=================== ======================================
110+
=================== ==============================================================================
96111
Markup Format Use It to Display
97-
=================== ======================================
112+
=================== ==============================================================================
98113
``html`` HTML
99114
``xml`` XML
100115
``php`` PHP
@@ -105,7 +120,9 @@ Markup Format Use It to Display
105120
``ini`` INI
106121
``php-annotations`` PHP Annotations
107122
``php-attributes`` PHP Attributes
108-
=================== ======================================
123+
``php-symfony`` PHP code example when using the Symfony framework
124+
``php-standalone`` PHP code to be used in any PHP application using standalone Symfony components
125+
=================== ==============================================================================
109126

110127
Adding Links
111128
~~~~~~~~~~~~

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp