md_example_inserter 0.0.1

  • Installing
  • Versions
  • 0

md_example_inserter #

Inserts the code from the example in the file specified in the {@example paht/to/file} tag.

Installation #

To install this package globally you only need to run:

pub global activate md_example_inserter

this will download and install ng2gen executable into ~/.pub-cache/bin, then add ~/.pub-cache/bin to your path to directly use the executable like this


or you can use

pub global run md_example_inserter

Usage #

Create a file with extension .mdtmpl then on it you can create references to other files in the same project in next way:

{@example path/to/file}

finally just run:


Changelog #

0.0.1 #

  • Initial version

Use this package as an executable

1. Install it

You can install the package from the command line:

$ pub global activate md_example_inserter

2. Use it

The package has the following executables:

$ md_example_inserter
Version Uploaded Documentation Archive
0.0.1 Jan 30, 2017 Go to the documentation of md_example_inserter 0.0.1 Download md_example_inserter 0.0.1 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see

Maintenance issues and suggestions

Make sure dartdoc successfully runs on your package's source files. (-10 points)

Dependencies were not resolved.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0