Skip to content

Commit a82de70

Browse files
petrosgitbook-bot
authored andcommitted
GitBook: [master] one page modified
1 parent 618a593 commit a82de70

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: code-block.md

+9
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,14 @@ greeting.("Anna")
2929
{% endtab %}
3030
{% endtabs %}
3131

32+
### Example with filename
3233

34+
{% code title="greeting.rb" %}
35+
```ruby
36+
def greeting(name)
37+
puts "Hello #{name}"
38+
end
39+
greeting("Anna")
40+
```
41+
{% endcode %}
3342

0 commit comments

Comments
 (0)