mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-19 07:03:37 +00:00

* fix: ai chat result contains html escape text * feat: support copy the code block from ai chat page * feat: support copy code block from ai chat page * fix: add hover effect to color picker button * chore: increase minimum window size
12 lines
334 B
Dart
12 lines
334 B
Dart
import 'package:appflowy/plugins/document/presentation/editor_plugins/parsers/markdown_code_parser.dart';
|
|
import 'package:appflowy_editor/appflowy_editor.dart';
|
|
|
|
Document customMarkdownToDocument(String markdown) {
|
|
return markdownToDocument(
|
|
markdown,
|
|
markdownParsers: [
|
|
const MarkdownCodeBlockParser(),
|
|
],
|
|
);
|
|
}
|