소스 검색

Merge pull request #4062 from coderstephen/master

Docs: Fix non-feature-branches schema example not syntax highlighted
Jordi Boggiano 10 년 전
부모
커밋
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`.