md_example_inserter 0.0.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 43

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

md_example_inserter

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:

md_example_inserter

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

Analysis

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

Scores

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

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in libraries.

Suggestions

  • 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:

    analyzer:
      strong-mode: true
    

Dependencies

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