Skip to content

Commit

Permalink
Remove code block from markdown
Browse files Browse the repository at this point in the history
Signed-off-by: Slendi <[email protected]>
  • Loading branch information
slendidev committed Feb 25, 2025
1 parent 2eb12e2 commit 05a7b32
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ pub async fn process_response(
in_code_block = false;
code_blocks.push(current_code_block_content.clone());

println!("```{}", language);
if stdout_is_terminal {
let mut language = language.trim().to_owned();
if language == "csharp" {
Expand All @@ -65,7 +64,6 @@ pub async fn process_response(
} else {
println!("{}", current_code_block_content);
}
println!("```");

current_code_block_content.clear();
language.clear();
Expand Down

0 comments on commit 05a7b32

Please sign in to comment.