mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-05 23:48:49 +01: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
|
|
@ -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 © 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>
|
||||
<script src="markdown-it.min.js"></script>
|
||||
|
|
|
|||
|
|
@ -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 +
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
CACHE MANIFEST
|
||||
# 2017-11-22
|
||||
# 2018-01-22
|
||||
default.css
|
||||
default.htm
|
||||
default.js
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue