Skip to main content

snippets 0.9.0 copy "snippets: ^0.9.0" to clipboard
snippets: ^0.9.0 copied to clipboard

Keep the code samples in your markdown files up to date with real, analyzed code in example/ and test/.

example/example.dart

import 'package:test/test.dart';

void main() {
  test('greets the world', () {
    // #region greeting
    final message = 'Hello, world!';
    print(message);
    // #endregion greeting
    expect(message, isNotEmpty);
  });
}
1
likes
160
points
76
downloads

Documentation

API reference

Publisher

verified publishertools.dart.dev

Weekly Downloads

Keep the code samples in your markdown files up to date with real, analyzed code in example/ and test/.

Repository (GitHub)
View/report issues
Contributing

Topics

#documentation #examples #markdown

License

BSD-3-Clause (license)

Dependencies

args, collection, path, source_span, string_scanner

More

Packages that depend on snippets