Эх сурвалжийг харах

Merge pull request #4062 from coderstephen/master

Docs: Fix non-feature-branches schema example not syntax highlighted
Jordi Boggiano 10 жил өмнө
parent
commit
a7ec17b2f1
1 өөрчлөгдсөн 6 нэмэгдсэн , 4 устгасан
  1. 6 4
      doc/04-schema.md

+ 6 - 4
doc/04-schema.md

@@ -904,11 +904,13 @@ An example:
 If you have a testing branch, that is heavily maintained during a testing phase and is
 deployed to your staging environment, normally "composer show -s" will give you `versions : * dev-master`.
 
-If you configure latest-.* as a pattern for non-feature-branches like this:
+If you configure `latest-.*` as a pattern for non-feature-branches like this:
 
-    {
-        "non-feature-branches": ["latest-.*"]
-    }
+```json
+{
+    "non-feature-branches": ["latest-.*"]
+}
+```
 
 Then "composer show -s" will give you `versions : * dev-latest-testing`.