-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document markdown-heading-first; more error detail
- Loading branch information
Showing
6 changed files
with
92 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>markdown-heading-first</title> | ||
<link rel="stylesheet" href="../main.css"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
</head> | ||
<body> | ||
<article> | ||
<h1><code>markdown-heading-first</code></h1> | ||
<p> | ||
First mention of an EIP must be a link. | ||
</p> | ||
|
||
<section> | ||
<h2>Examples</h2> | ||
|
||
<pre>error[markdown-heading-first]: the first match of the given pattern must be a link | ||
--> input.md | ||
| | ||
5 | EIP-3 | ||
| | ||
= info: the pattern in question: `(?i)(?:eip|erc)-[0-9]+`</pre> | ||
</section> | ||
<section> | ||
<h2>Explanation</h2> | ||
|
||
<p> | ||
<code>markdown-heading-first</code> ensures that the first time | ||
a proposal is mentioned it is a hyperlink to that proposal. | ||
</p> | ||
|
||
<p> | ||
The first reference to each proposal should be a hyperlink | ||
so that it is easy for readers to navigate there. | ||
</p> | ||
</section> | ||
</article> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters