Skip to content

Commit 01ad6e3

Browse files
committed
refactor: update filepath and file headers to use ## instead of ### or //
Change filepath and file headers to consistently use `##` markup for better uniformity and readability across the codebase.
1 parent 8eb88bf commit 01ad6e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/main/kotlin/cc/unitmesh/devti/agenttool/search/RipgrepSearcher.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ object RipgrepSearcher {
133133
}
134134

135135
for (entry in grouped.entries) {
136-
output.append("### filepath: ").append(entry.key).append("\n")
136+
output.append("## filepath: ").append(entry.key).append("\n")
137137
val filePath = Paths.get(basePath, entry.key)
138138
val content = filePath.toFile().readLines()
139139

exts/devins-lang/src/main/kotlin/cc/unitmesh/devti/language/compiler/exec/FileInsCommand.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class FileInsCommand(private val myProject: Project, private val prop: String) :
6161
}
6262

6363
val output = StringBuilder()
64-
output.append("// File: $prop")
64+
output.append("## file: $prop")
6565
output.append("\n```$lang\n")
6666
output.append(fileContent)
6767
output.append("\n```\n")

0 commit comments

Comments
 (0)