mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-10-26 19:49:56 -04:00
Add shebangs to demo for Python and Ruby
This commit is contained in:
1 parent
c7a2ebcedc
commit
9eebc43772
1 file changed
+4
-2
@@ -27,7 +27,8 @@ func main() {
|
||||
},
|
||||
{
|
||||
language: "python",
|
||||
code: `# Hello World in Python
|
||||
code: `#!/usr/bin/env python3
|
||||
# Hello World in Python
|
||||
print("Hello, World!")`,
|
||||
},
|
||||
{
|
||||
@@ -73,7 +74,8 @@ fn main() {
|
||||
},
|
||||
{
|
||||
language: "ruby",
|
||||
code: `# Hello World in Ruby
|
||||
code: `#!/usr/bin/env ruby
|
||||
# Hello World in Ruby
|
||||
puts "Hello, World!"`,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user