mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-06 00:47:15 -04:00
Add shebangs to demo for Python and Ruby
This commit is contained in:
@@ -27,7 +27,8 @@ func main() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
language: "python",
|
language: "python",
|
||||||
code: `# Hello World in Python
|
code: `#!/usr/bin/env python3
|
||||||
|
# Hello World in Python
|
||||||
print("Hello, World!")`,
|
print("Hello, World!")`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -73,7 +74,8 @@ fn main() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
language: "ruby",
|
language: "ruby",
|
||||||
code: `# Hello World in Ruby
|
code: `#!/usr/bin/env ruby
|
||||||
|
# Hello World in Ruby
|
||||||
puts "Hello, World!"`,
|
puts "Hello, World!"`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user