simple_markdown_editor_plus 0.2.1 simple_markdown_editor_plus: ^0.2.1 copied to clipboard
A TextField Widget that allow you to convert easily what's in the TextField to Markdown with custom toolbar support.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add simple_markdown_editor_plus
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
simple_markdown_editor_plus: ^0.2.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:simple_markdown_editor_plus/simple_markdown_editor.dart';
import 'package:simple_markdown_editor_plus/widgets/image_network.dart';
import 'package:simple_markdown_editor_plus/widgets/markdown_field.dart';
import 'package:simple_markdown_editor_plus/widgets/markdown_form_field.dart';
import 'package:simple_markdown_editor_plus/widgets/markdown_parse.dart';
import 'package:simple_markdown_editor_plus/widgets/markdown_toolbar.dart';
import 'package:simple_markdown_editor_plus/widgets/modal_input_url.dart';
import 'package:simple_markdown_editor_plus/widgets/modal_select_emoji.dart';
import 'package:simple_markdown_editor_plus/widgets/toolbar_item.dart';