mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Update to version 0.7.0.
This commit is contained in:
parent
6ca9340a30
commit
c0ea22e55e
6 changed files with 9 additions and 5 deletions
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
The MIT License (MIT)
|
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
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
@ -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.2 - Improve MD013/MD027/MD034/MD037/MD038/MD041/MD044, update dependencies.
|
||||||
* 0.6.3 - Improve highlighting for MD020.
|
* 0.6.3 - Improve highlighting for MD020.
|
||||||
* 0.6.4 - Improve MD029/MD042, update dependencies.
|
* 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-image]: https://img.shields.io/npm/v/markdownlint.svg
|
||||||
[npm-url]: https://www.npmjs.com/package/markdownlint
|
[npm-url]: https://www.npmjs.com/package/markdownlint
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
<div class="flex-columns inset">
|
<div class="flex-columns inset">
|
||||||
<footer><a href="https://github.com/DavidAnson/markdownlint">markdownlint project on GitHub</a></footer>
|
<footer><a href="https://github.com/DavidAnson/markdownlint">markdownlint project on GitHub</a></footer>
|
||||||
<div class="flex-fill"></div>
|
<div class="flex-fill"></div>
|
||||||
<footer>Copyright © 2015-2017 by <a href="//dlaa.me/">David Anson</a></footer>
|
<footer>Copyright © 2015-2018 by <a href="//dlaa.me/">David Anson</a></footer>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="markdown-it.min.js"></script>
|
<script src="markdown-it.min.js"></script>
|
||||||
|
|
|
@ -53,7 +53,9 @@
|
||||||
violations.innerHTML = results.content.map(function mapResult(result) {
|
violations.innerHTML = results.content.map(function mapResult(result) {
|
||||||
var ruleName = result.ruleNames[0];
|
var ruleName = result.ruleNames[0];
|
||||||
var ruleRef = rulesMd + "#" + ruleName.toLowerCase() + "---" +
|
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 +
|
return "<a href='#" + result.lineNumber + "'><em>" + result.lineNumber +
|
||||||
"</em></a> - <a href='" + ruleRef + "'>" + ruleName + "</a> " +
|
"</em></a> - <a href='" + ruleRef + "'>" + ruleName + "</a> " +
|
||||||
result.ruleDescription +
|
result.ruleDescription +
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
CACHE MANIFEST
|
CACHE MANIFEST
|
||||||
# 2017-11-22
|
# 2018-01-22
|
||||||
default.css
|
default.css
|
||||||
default.htm
|
default.htm
|
||||||
default.js
|
default.js
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "markdownlint",
|
"name": "markdownlint",
|
||||||
"version": "0.6.4",
|
"version": "0.7.0",
|
||||||
"description": "A Node.js style checker and lint tool for Markdown/CommonMark files.",
|
"description": "A Node.js style checker and lint tool for Markdown/CommonMark files.",
|
||||||
"main": "lib/markdownlint.js",
|
"main": "lib/markdownlint.js",
|
||||||
"author": "David Anson (https://dlaa.me/)",
|
"author": "David Anson (https://dlaa.me/)",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue