mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-10-31 18:15:09 +00:00 
			
		
		
		
	 8833df1740
			
		
	
	
		8833df1740
		
			
		
	
	
	
	
		
			
			* 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(),
 | |
|     ],
 | |
|   );
 | |
| }
 |