-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change defaults for mangle and headerIds to false (#2890)
BREAKING CHANGE: change defaults for mangle and headerIds to false
- Loading branch information
Showing
22 changed files
with
87 additions
and
83 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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<h1 id="level1">level1</h1> | ||
<h2 id="level2">level2</h2> | ||
<h3 id="level3">level3</h3> | ||
<h1>level1</h1> | ||
<h2>level2</h2> | ||
<h3>level3</h3> | ||
<ul> | ||
<li>foo=bar</li> | ||
<li>foo2=bar2</li> | ||
</ul> | ||
<h3 id="level3-1">level3</h3> | ||
<h3>level3</h3> |
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 |
---|---|---|
|
@@ -16,4 +16,4 @@ | |
</tr> | ||
</tbody> | ||
</table> | ||
<h1 id="title">title</h1> | ||
<h1>title</h1> |
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 |
---|---|---|
|
@@ -16,4 +16,4 @@ | |
</tr> | ||
</tbody> | ||
</table> | ||
<h1 id="title">title</h1> | ||
<h1>title</h1> |
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
--- | ||
headerIds: true | ||
--- | ||
### Heading with <em>html</em> | ||
|
||
### Heading with a [link](http://github.com/) | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<ul> | ||
<li>list <h1 id="header">header</h1></li> | ||
<li>list <h1>header</h1></li> | ||
</ul> |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<h1 id="header">header</h1> | ||
<h1>header</h1> | ||
|
||
<h1 id="header1">header1</h1> | ||
<h1>header1</h1> | ||
|
||
<h1 id="header2">header2</h1> | ||
<h1>header2</h1> |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<h1 id="h1">h1</h1> | ||
<h1>h1</h1> | ||
|
||
<h1 id="h1-1">h1</h1> | ||
<h1>h1</h1> | ||
|
||
<h1 id="h1-">h1 #</h1> | ||
<h1>h1 #</h1> | ||
|
||
<h1 id="h1-2">h1</h1> | ||
<h1>h1</h1> | ||
|
||
<p># h1</p> |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<p>paragraph before head with hash</p> | ||
<h1 id="how-are-you">how are you</h1> | ||
<h1>how are you</h1> | ||
|
||
<p>paragraph before head with equals</p> | ||
<h1 id="how-are-you-again">how are you again</h1> | ||
<h1>how are you again</h1> |
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 |
---|---|---|
@@ -1,35 +1,35 @@ | ||
<h1 id="absolutization-of-rfc-3986-uris">Absolutization of RFC 3986 URIs</h1> | ||
<h1>Absolutization of RFC 3986 URIs</h1> | ||
|
||
<h2 id="absolute-uri">Absolute URI</h2> | ||
<h2>Absolute URI</h2> | ||
|
||
<p><a href="http://example.com/"><img src="http://example.com/logo" alt="section 4.3"></a></p> | ||
|
||
<h2 id="network-path-reference">Network-path reference</h2> | ||
<h2>Network-path reference</h2> | ||
|
||
<p><a href="//example.com/"><img src="//example.com/logo" alt="section 4.2"></a></p> | ||
|
||
<h2 id="absolute-path">Absolute path</h2> | ||
<h2>Absolute path</h2> | ||
|
||
<p><a href="/path/to/content"><img src="/path/to/img" alt="section 4.2"></a></p> | ||
|
||
<h2 id="relative-path">Relative path</h2> | ||
<h2>Relative path</h2> | ||
|
||
<p><a href="/base/content"><img src="/base/img" alt="section 4.2"></a></p> | ||
|
||
<h2 id="dot-relative-path">Dot-relative path</h2> | ||
<h2>Dot-relative path</h2> | ||
|
||
<p><a href="/base/./content"><img src="/base/./img" alt="section 3.3"></a></p> | ||
|
||
<p><a href="/base/../content"><img src="/base/../img" alt="section 3.3"></a></p> | ||
|
||
<h2 id="same-document-query">Same-document query</h2> | ||
<h2>Same-document query</h2> | ||
|
||
<p><a href="?"><img src="?type=image" alt="section 4.4"></a></p> | ||
|
||
<h2 id="same-document-fragment">Same-document fragment</h2> | ||
<h2>Same-document fragment</h2> | ||
|
||
<p><a href="#"><img src="#img" alt="section 4.4"></a></p> | ||
|
||
<h2 id="empty">Empty</h2> | ||
<h2>Empty</h2> | ||
|
||
<p><a href="">section 4.2</a></p> |
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 |
---|---|---|
@@ -1,35 +1,35 @@ | ||
<h1 id="absolutization-of-rfc-3986-uris">Absolutization of RFC 3986 URIs</h1> | ||
<h1>Absolutization of RFC 3986 URIs</h1> | ||
|
||
<h2 id="absolute-uri">Absolute URI</h2> | ||
<h2>Absolute URI</h2> | ||
|
||
<p><a href="http://example.com/"><img src="http://example.com/logo" alt="section 4.3"></a></p> | ||
|
||
<h2 id="network-path-reference">Network-path reference</h2> | ||
<h2>Network-path reference</h2> | ||
|
||
<p><a href="http://example.com/"><img src="http://example.com/logo" alt="section 4.2"></a></p> | ||
|
||
<h2 id="absolute-path">Absolute path</h2> | ||
<h2>Absolute path</h2> | ||
|
||
<p><a href="http://example.com/path/to/content"><img src="http://example.com/path/to/img" alt="section 4.2"></a></p> | ||
|
||
<h2 id="relative-path">Relative path</h2> | ||
<h2>Relative path</h2> | ||
|
||
<p><a href="http://example.com/base/content"><img src="http://example.com/base/img" alt="section 4.2"></a></p> | ||
|
||
<h2 id="dot-relative-path">Dot-relative path</h2> | ||
<h2>Dot-relative path</h2> | ||
|
||
<p><a href="http://example.com/base/./content"><img src="http://example.com/base/./img" alt="section 3.3"></a></p> | ||
|
||
<p><a href="http://example.com/base/../content"><img src="http://example.com/base/../img" alt="section 3.3"></a></p> | ||
|
||
<h2 id="same-document-query">Same-document query</h2> | ||
<h2>Same-document query</h2> | ||
|
||
<p><a href="?"><img src="?type=image" alt="section 4.4"></a></p> | ||
|
||
<h2 id="same-document-fragment">Same-document fragment</h2> | ||
<h2>Same-document fragment</h2> | ||
|
||
<p><a href="#"><img src="#img" alt="section 4.4"></a></p> | ||
|
||
<h2 id="empty">Empty</h2> | ||
<h2>Empty</h2> | ||
|
||
<p><a href="">section 4.2</a></p> |
Oops, something went wrong.
63a839b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
marked-website – ./
markedjs.vercel.app
marked-website-markedjs.vercel.app
marked-website-git-master-markedjs.vercel.app
marked.js.org