Skip to content

Commit 5243862

Browse files
committed
Specify rst language in example code in doc
1 parent 0d7c212 commit 5243862

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ URLs
4545
Quick Sample
4646
============
4747

48-
This is source::
48+
This is source:
49+
50+
.. code:: rst
4951
5052
.. php:class:: DateTime
5153
@@ -111,7 +113,9 @@ Result
111113
Cross referencing
112114
-----------------
113115

114-
From other place, you can create cross reference like that::
116+
From other place, you can create cross reference like that:
117+
118+
.. code:: rst
115119
116120
You can modify a DateTime's date using :php:meth:`DateTime::setDate`.
117121

0 commit comments

Comments
 (0)