flutter/packages/flutter_markdown
Adam Barth bbac5dcb45 Update and modernize the flutter_markdown package (#9044)
We now use modern scrolling machinery and patterns. The API should also be
easier to maintain over time.

Fixes #6166
Fixes #2591
Fixes #3123
2017-03-27 20:47:33 -07:00
..
example Hide routes from the API when they're not needed. (#3431) 2016-04-20 09:33:28 -07:00
lib Update and modernize the flutter_markdown package (#9044) 2017-03-27 20:47:33 -07:00
test Update and modernize the flutter_markdown package (#9044) 2017-03-27 20:47:33 -07:00
flutter_markdown.iml Update iml files (#7025) 2016-11-27 07:46:54 -08:00
pubspec.yaml Ignore HTML in flutter_markdown content without error (#8420) 2017-02-27 12:13:24 -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.