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