docsy_markdown 0.1.1 copy "docsy_markdown: ^0.1.1" to clipboard
docsy_markdown: ^0.1.1 copied to clipboard

Markdown import and export support for Docsy, the modular Flutter WYSIWYG editor. Convert documents seamlessly between Docsy and Markdown.

Docsy Markdown #

The Docsy Markdown package provides export functionality for the Docsy editor.
It allows you to serialize Docsy documents into Markdown for developer-friendly formats, notes, or content storage.

Try it Live

✨ Features #

  • Export any Docsy Document into Markdown.
  • Supports paragraphs, headings, quotes, lists, dividers, inline formatting (bold, italic, underline, code, links).
  • Clean and Git-friendly output.

🚀 Installation #

Add this to your pubspec.yaml:

dependencies:
  docsy_markdown: ^0.0.1

📖 Usage #

import 'package:docsy/docsy.dart';
import 'package:docsy_markdown/docsy_markdown.dart';

void main() {
  final doc = Document([
    ParagraphNode(inlines: [
      TextSpanNode("Hello ", marks: TextMarks()),
      TextSpanNode("world", marks: TextMarks(bold: true)),
    ]),
  ]);

  final md = DocsyMarkdownCodec().encode(doc);
  print(md); // Hello **world**
}

📷 Example #

Hello **world**

📜 License #

MIT License. See LICENSE.

1
likes
140
points
32
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Markdown import and export support for Docsy, the modular Flutter WYSIWYG editor. Convert documents seamlessly between Docsy and Markdown.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

docsy, flutter, markdown

More

Packages that depend on docsy_markdown