flutter/packages/flutter_markdown
Viktor Lidholt bbb7f14a9e Merge pull request #2589 from vlidholt/master
Markdown is now correctly updated when config changes
2016-03-11 09:39:54 -08:00
..
example Initial support for links in markdown 2016-03-10 14:08:32 -08:00
lib Merge pull request #2589 from vlidholt/master 2016-03-11 09:39:54 -08:00
test Markdown is now correctly updated when config changes 2016-03-11 08:17:35 -08:00
pubspec.yaml Adds initial version of Markdown renderer 2016-03-09 13:07:36 -08:00
README.md Adds initial version of Markdown renderer 2016-03-09 13:07:36 -08:00

Flutter Markdown

A markdown renderer for Flutter. It supports the original format, but no inline html.

Getting Started

Using the Markdown widget is simple, just pass in the source markdown as a string:

new Markdown(data: markdownSource);

If you do not want the padding or scrolling behavior, use the MarkdownBody instead:

new MarkdownBody(data: markdownSource);

By default, Markdown uses the formatting from the current material design theme, but it's possible to create your own custom styling. Use the MarkdownStyle class to pass in your own style. If you don't want to use Markdown outside of material design, use the MarkdownRaw class.