Inserts the code from the example in the file specified in the {@example paht/to/file}
tag.
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
md_example_inserter
or you can use
pub global run md_example_inserter
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:
md_example_inserter
You can install the package from the command line:
$ pub global activate md_example_inserter
The package has the following executables:
$ md_example_inserter
Version | Uploaded | Documentation | Archive |
---|---|---|---|
0.0.1 | Jan 30, 2017 |
|
|
Popularity:
Describes how popular the package is relative to other packages.
[more]
|
0
|
Health:
Code health derived from static analysis.
[more]
|
--
|
Maintenance:
Reflects how tidy and up-to-date the package is.
[more]
|
--
|
Overall:
Weighted score of the above.
[more]
|
0
|
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.
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 https://www.dartlang.org/dart-2#migration.
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 |