Преглед изворни кода

Merge branch 'master' of https://github.com/marcobambini/gravity

Marco Bambini пре 7 година
родитељ
комит
966f42e5ef
1 измењених фајлова са 9 додато и 1 уклоњено
  1. 9 1
      docs/getting-started.html

+ 9 - 1
docs/getting-started.html

@@ -138,12 +138,20 @@
 			<!-- Command line -->
 			<h4 class="section-h4">Unit Tests</h4>
 			<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
 			</code></pre>
 			<p>You should obtain an output like:
 			<img src="images/unittest.png" width="666px" height="466px">
 			</p>
+			
+			<h4 class="section-h4">Hello World</h4>
+			<p>A simple <strong>Hello World</strong> code in Gravity looks like</p>
+			<pre><code>
+			    func main() {
+			        System.print("Hello World!")
+			    }
+			</code></pre>
 
          	</div>
          	<!-- END CONTENT -->