marker 0.0.3 copy "marker: ^0.0.3" to clipboard
marker: ^0.0.3 copied to clipboard

outdated

A renderer (printer) for the markdown library. Saves the parsed AST back into markdown.

marker #

Marker is a Markdown renderer (printer) for Dart. It takes a list of Node objects produced by the parser and renders it back to a string.

Supported markdown flavors:

The renderer supports both inline and reference links and images.

Example (from changelog.dart)

import 'dart:io';

import 'package:markdown/markdown.dart';
import 'package:marker/marker.dart';

/// Renders CHANGELOG.md with all links inline
void main() {
  final file = File('CHANGELOG.md');
  /// Contains parsed tree
  final nodes = Document().parseLines(file.readAsLinesSync());
  /// Contains markdown text
  final markdown = render(nodes);
  print(markdown);
}

3
likes
0
pub points
60%
popularity

Publisher

verified publisherkarapetov.com

A renderer (printer) for the markdown library. Saves the parsed AST back into markdown.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

markdown

More

Packages that depend on marker