Skip to main content

remove_markdown 0.0.2 copy "remove_markdown: ^0.0.2" to clipboard
remove_markdown: ^0.0.2 copied to clipboard

Strip markdown from markdown formatted 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 ☒ ☒

Example previews #

01 02 03
8
likes
150
points
8.81k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Strip markdown from markdown formatted string.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

More

Packages that depend on remove_markdown