Update to version 0.7.0.

This commit is contained in:
David Anson 2018-01-22 20:54:26 -08:00
parent 6ca9340a30
commit c0ea22e55e
6 changed files with 9 additions and 5 deletions

View file

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2015-2017 David Anson
Copyright (c) 2015-2018 David Anson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View file

@ -654,6 +654,8 @@ For ideas how to integrate `markdownlint` into your workflow, refer to the follo
* 0.6.2 - Improve MD013/MD027/MD034/MD037/MD038/MD041/MD044, update dependencies.
* 0.6.3 - Improve highlighting for MD020.
* 0.6.4 - Improve MD029/MD042, update dependencies.
* 0.7.0 - `resultVersion` defaults to 2 (breaking change), add MD045, improve MD029,
remove trimLeft/trimRight, split rules, refactor, update dependencies.
[npm-image]: https://img.shields.io/npm/v/markdownlint.svg
[npm-url]: https://www.npmjs.com/package/markdownlint

View file

@ -28,7 +28,7 @@
<div class="flex-columns inset">
<footer><a href="https://github.com/DavidAnson/markdownlint">markdownlint project on GitHub</a></footer>
<div class="flex-fill"></div>
<footer>Copyright &copy; 2015-2017 by <a href="//dlaa.me/">David Anson</a></footer>
<footer>Copyright &copy; 2015-2018 by <a href="//dlaa.me/">David Anson</a></footer>
</div>
</div>
<script src="markdown-it.min.js"></script>

View file

@ -53,7 +53,9 @@
violations.innerHTML = results.content.map(function mapResult(result) {
var ruleName = result.ruleNames[0];
var ruleRef = rulesMd + "#" + ruleName.toLowerCase() + "---" +
result.ruleDescription.toLowerCase().replace(/ /g, "-");
result.ruleDescription.toLowerCase()
.replace(/ /g, "-")
.replace(/[()]/g, "");
return "<a href='#" + result.lineNumber + "'><em>" + result.lineNumber +
"</em></a> - <a href='" + ruleRef + "'>" + ruleName + "</a> " +
result.ruleDescription +

View file

@ -1,5 +1,5 @@
CACHE MANIFEST
# 2017-11-22
# 2018-01-22
default.css
default.htm
default.js

View file

@ -1,6 +1,6 @@
{
"name": "markdownlint",
"version": "0.6.4",
"version": "0.7.0",
"description": "A Node.js style checker and lint tool for Markdown/CommonMark files.",
"main": "lib/markdownlint.js",
"author": "David Anson (https://dlaa.me/)",