Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(core): should show divider between readwise content and note (#11113)

CatsJuice3467515ae9c5
diff --git a/packages/frontend/core/src/modules/integration/entities/writer.ts b/packages/frontend/core/src/modules/integration/entities/writer.ts
index 2474c86465..52b6a87b54 100644
--- a/packages/frontend/core/src/modules/integration/entities/writer.ts
+++ b/packages/frontend/core/src/modules/integration/entities/writer.ts
@@ -51,7 +51,7 @@ export class IntegrationWriter extends Entity {
} = options;
const workspace = this.workspaceService.workspace;
- let markdown = comment ? `${content}\n---\n${comment}` : content;
+ let markdown = comment ? `${content}\n\n---\n\n${comment}` : content;
let finalDocId: string;
if (!docId) {