A flutter package to help with stripping markdown off a string
Remove Markdown
This package is based on the idea of remove-markdown and is an attempt to implement this for dart projects.
Usage
Import the library
import 'package:remove_markdown/remove_markdown.dart';
Removing markdown
Remove markdown from a string:
const markdownString = '**Emphasis**';
// strip markdown off the string
// Result: Emphasis
print(markdownString.removeMarkdown());
Supported markdown
List of currently supported markdown bits
Feature | Supported | Tested |
---|---|---|
Paragraphs | ☑ | ☑ |
Links | ☑ | ☑ |
Images | ☑ | ☑ |
Lists | ☑ | ☑ |
Code blocks | ☑ | ☑ |
Inline code | ☑ | ☑ |
Emphasis | ☑ | ☑ |
Headers | ☑ | ☑ |
HTML Tags | ☑ | ☒ |
Tables | ☒ | ☒ |