Skip to content

Commit fcc2b72

Browse files
authored
Merge branch 'dev' into feat/python_sdk
2 parents 12a10ad + b207ed2 commit fcc2b72

File tree

10 files changed

+293
-164
lines changed

10 files changed

+293
-164
lines changed

packages/app/src/components/code.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ function transformerUnifiedDiff(): ShikiTransformer {
435435
out.push(s)
436436
}
437437

438-
return out.join("\n")
438+
return out.join("\n").trimEnd()
439439
},
440440
code(node) {
441441
if (isDiff) this.addClassToHast(node, "code-diff")

packages/app/src/components/markdown.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ function strip(text: string): string {
66
const match = text.match(wrappedRe)
77
return match ? match[2] : text
88
}
9-
10-
export default function Markdown(props: { text: string; class?: string }) {
9+
export function Markdown(props: { text: string; class?: string }) {
1110
const marked = useMarked()
1211
const [html] = createResource(
1312
() => strip(props.text),

0 commit comments

Comments
 (0)