flutter/packages/flutter_markdown
Adam Barth c1a2967430 Use SDK sources to refer to our own packages (#6001)
Switch our pubspec.yamls to using SDK sources so that we can have consistent
source types when we depend on these packages from external packages using SDK
sources.
2016-09-22 20:39:35 -07:00
..
example Hide routes from the API when they're not needed. (#3431) 2016-04-20 09:33:28 -07:00
lib Added BorderRadius. (#5072) 2016-07-29 16:17:57 -07:00
test Make it possible to run tests live on a device (#3936) 2016-05-16 12:53:13 -07:00
pubspec.yaml Use SDK sources to refer to our own packages (#6001) 2016-09-22 20:39:35 -07: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.