mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-19 15:06:53 +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(),
|
||
|
],
|
||
|
);
|
||
|
}
|