prettify 0.3.2

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 74

prettify - Code prettifier for Dart

Beautify the code snippets in your web page
Based on Googles google-code-prettify

Usage

The step-by-step guide is on prettify.mikemitterer.at

Features and bugs

Please file feature requests and bugs at the issue tracker.

License

Copyright 2017 Michael Mitterer (office@mikemitterer.at),
IT-Consulting and Development Limited, Austrian Branch

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language
governing permissions and limitations under the License.

If this plugin is helpful for you - please (Circle) me
or star this repo here on GitHub

Change Log for prettify

Beautify the code snippets in your web page

Unreleased

Docs

  • Sample uses latest MDL-Version 02e4bf5

v0.2.1 - 2016-11-16

Docs

v0.2.0 - 2015-12-07

Fixes

  • Usage-Sample has now a fixed header on mobile aa4597b

Docs

  • Added Grinder + switched sample to Mdl/Dart framework c26a217

v0.1.1 - 2015-03-03

Docs

v0.1.0 - 2015-03-03

Feature

This CHANGELOG.md was generated with Changelog for Dart

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  prettify: "^0.3.2"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:prettify/prettify.dart';
        
Version Uploaded Documentation Archive
0.3.2 Dec 13, 2017 Go to the documentation of prettify 0.3.2 Download prettify 0.3.2 archive
0.2.1 Nov 16, 2016 Go to the documentation of prettify 0.2.1 Download prettify 0.2.1 archive
0.2.0 Dec 7, 2015 Go to the documentation of prettify 0.2.0 Download prettify 0.2.0 archive
0.1.2 Mar 3, 2015 Go to the documentation of prettify 0.1.2 Download prettify 0.1.2 archive
0.1.1 Mar 3, 2015 Go to the documentation of prettify 0.1.1 Download prettify 0.1.1 archive
0.1.0 Mar 3, 2015 Go to the documentation of prettify 0.1.0 Download prettify 0.1.0 archive

Analysis

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

  • Dart: 2.0.0-dev.46.0
  • pana: 0.10.6

Scores

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

Platforms

Detected platforms: web, other

Primary library: package:prettify/prettify.dart with components: js.

Suggestions

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

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

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use prettify.dart.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 1 hint.

    Run dartfmt to format lib/prettify.dart.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

Dependencies

Package Constraint Resolved Available
Dev dependencies
args any
console_log_handler >=0.5.0 <1.0.0
grinder any
logging >=0.11.3 <1.0.0
test any