Skip to content

Commit

Permalink
#27 [FIX] 프로젝트 설명에 대한 prompt 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
bbabbi committed Dec 3, 2024
1 parent 149df55 commit aa5d01e
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ public String generateMarkdown(ReadmeRequest readmeRequest) {
// 제목과 설명
prompt.append("# 💻").append(readmeRequest.getTitle()).append("\n");

// Markdown 문법 제거 - '#' 기호 제거
String plainTextDescription = readmeRequest.getDescription()
.replaceAll("#+", "");
prompt.append("**프로젝트 설명**: ").append(plainTextDescription).append("\n\n");
// 프로젝트 설명을 처리하고 개행 추가
String plainTextDescription = readmeRequest.getDescription();
prompt.append("**프로젝트 설명**\n").append(plainTextDescription).append("\n\n");

// 소개 섹션
prompt.append("## 🚀 소개\n").append(readmeRequest.getDescription()).append("\n\n");
Expand Down

0 comments on commit aa5d01e

Please sign in to comment.