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): disable micromark debug output (#6528)

pengx178769aef0aad1
diff --git a/packages/common/debug/src/index.ts b/packages/common/debug/src/index.ts
index b805541cfb..b69441ac1a 100644
--- a/packages/common/debug/src/index.ts
+++ b/packages/common/debug/src/index.ts
@@ -18,7 +18,7 @@ if (typeof window !== 'undefined') {
console.warn('Debug logs enabled');
}
if (process.env.NODE_ENV === 'development') {
- debug.enable('*');
+ debug.enable('*,-micromark');
console.warn('Debug logs enabled');
}
}