Browse Source

Update getting-started.html

Marco Bambini 7 năm trước cách đây
mục cha
commit
c53e92b8f0
1 tập tin đã thay đổi với 9 bổ sung1 xóa
  1. 9 1
      docs/getting-started.html

+ 9 - 1
docs/getting-started.html

@@ -138,12 +138,20 @@
 			<!-- Command line -->
 			<!-- Command line -->
 			<h4 class="section-h4">Unit Tests</h4>
 			<h4 class="section-h4">Unit Tests</h4>
 			<p>You can run unit tests by providing a path to a folder containing all tests:</p>
 			<p>You can run unit tests by providing a path to a folder containing all tests:</p>
-			<pre><code>
+			<pre><code class="swift">
 	./unittest path_to_test_folder
 	./unittest path_to_test_folder
 			</code></pre>
 			</code></pre>
 			<p>You should obtain an output like:
 			<p>You should obtain an output like:
 			<img src="images/unittest.png" width="666px" height="466px">
 			<img src="images/unittest.png" width="666px" height="466px">
 			</p>
 			</p>
+			
+			<h4 class="section-h4">Hello World</h4>
+			<p>A simple Hello World! code in Gravity looks like</p>
+			<pre><code>
+			    func main() {
+			        System.print("Hello World!")
+			    }
+			</code></pre>
 
 
          	</div>
          	</div>
          	<!-- END CONTENT -->
          	<!-- END CONTENT -->