prettify 0.3.7

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 53

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

Refactor

  • Preparing for Dart 2. Example is not ready yet 453629f

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

Use this package as a library

1. Depend on it

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


dependencies:
  prettify: ^0.3.7

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.7 Aug 29, 2018 Go to the documentation of prettify 0.3.7 Download prettify 0.3.7 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
Popularity:
Describes how popular the package is relative to other packages. [more]
18
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
53
Learn more about scoring.

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

  • Dart: 2.0.0
  • pana: 0.12.4

Platforms

Detected platforms: web, other

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

Health suggestions

Format lib/prettify.dart.

Run dartfmt to format lib/prettify.dart.

Maintenance suggestions

The description is too short. (-20 points)

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

Maintain an example. (-10 points)

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.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
Dev dependencies
args any
build_runner any
build_test any
build_web_compilers any
console_log_handler >=1.1.0 <2.0.0
grinder any
logging >=0.11.3 <1.0.0
test any