Skip to content

Commit

Permalink
fix: remove newlines for proper rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
seonglae committed Dec 2, 2024
1 parent abafa51 commit 289c92d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ Logging `result[0].generated_text` to the console gives:
<details>
<summary>Click to view the console output</summary>
<pre>
Here's a simple implementation of the quick sort algorithm in Python:
```python
def quick_sort(arr):
if len(arr) <= 1:
Expand All @@ -205,7 +206,6 @@ print(sorted_arr)
- **Partitioning**: The array is partitioned into three parts: elements less than the pivot (`left`), elements equal to the pivot (`middle`), and elements greater than the pivot (`right`). These partitions are then recursively sorted.
- **Recursive Sorting**: The subarrays are sorted recursively using `quick_sort`.
This approach ensures that each recursive call reduces the problem size by half until it reaches a base case.
```
</pre>
</details>

Expand Down

0 comments on commit 289c92d

Please sign in to comment.