md_example_inserter 0.0.1

  • Installing
  • Versions
  • 43


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


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:




  • 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


We analyzed this package on Jun 12, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.60.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
0 / 100
Code health derived from static analysis. [more]
100 / 100
Reflects how tidy and up-to-date the package is. [more]
63 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: Flutter, web, other

No platform restriction found in libraries.


  • Fix .analysis_options.

    We were unable to parse .analysis_options.

  • Package is getting outdated.

    The package was released 71 weeks ago.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use md_example_inserter.dart.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

  • Enable strong mode analysis.

    Strong mode helps you to detect bugs and potential issues earlier.Start your analysis_options.yaml file with the following:

      strong-mode: true


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0
glob ^1.1.3 1.1.5
path ^1.4.1 1.6.0
Transitive dependencies
async 2.0.7
charcode 1.1.1
collection 1.14.10
source_span 1.4.0
string_scanner 1.0.2
Dev dependencies
test >=0.12.0 <0.13.0