Yiannis128 / markdown_editor

Flutter markdown editor widget library.
GNU Affero General Public License v3.0
0 stars 0 forks source link
dart flutter library

Markdown Editor (markdown_editor)

⚠️ Warning, this library is still in development, there are frequent improvements and code changes approaching the first release and milestone. It is recommended to wait for the first release before using in a production application.

Main

Flutter library that contains widgets for editing markdown.

Features

Thumbnail

Getting started

Import the package using Flutter Pub:

flutter pub add markdown_editor

Usage

Editor

The editor is available as a single widget like so:

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text("Edit"),
      ),
      floatingActionButton: FloatingActionButton(
        child: const Icon(Icons.save),
        onPressed: () {
          // Save text here...
        },
      ),
      body: MarkdownEditorWidget(
        constantFocus: true,
      ),
    );
  }

Additional information

Contributing

In order to contribute to the repo, file any issues through GitHub or create a fork, and then a pull request in order to request new features be added in. Depending on if the pull request contains desired changes, the pull request may be accepted or denied. If unsure, please file an issue about it.

Planned Features

The following features are planned to be added in due time:

The following items maybe added in the future, however, are not being worked on: