Add Ruby code blocks to the documents (#1200)

* Add Ruby code blocks to documents

* Remove Ruby code from en/docs
This commit is contained in:
Yudong Jin
2024-03-31 03:57:11 +08:00
committed by GitHub
parent 034ee65e9a
commit 57bdfd6284
21 changed files with 259 additions and 255 deletions

View File

@@ -186,6 +186,12 @@
}
```
=== "Ruby"
```ruby title=""
```
=== "Zig"
```zig title=""
@@ -423,6 +429,12 @@
n2.right = n5
```
=== "Ruby"
```ruby title="binary_tree.rb"
```
=== "Zig"
```zig title="binary_tree.zig"
@@ -579,6 +591,12 @@
n1.left = n2
```
=== "Ruby"
```ruby title="binary_tree.rb"
```
=== "Zig"
```zig title="binary_tree.zig"