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

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

example/example.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
140
pub points
61%
popularity

Publisher

verified publisherkarapetov.com

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

markdown

More

Packages that depend on marker