getMarkdownText method
Get Clipboard content as Markdown Text, this is platform specific and not the same as getPlainText for two reasons:
- The user might want to paste Markdown text
- Copying Markdown text from other apps and use getPlainText will ignore the Markdown content and provide it as text
Implementation
@override
Future<String?> getMarkdownText() async {
// Formats.markdownText or Formats.mdText does not exist yet in super_clipboard
throw UnsupportedError(
'SuperClipboardService does not support retrieving image files.',
);
}