-
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.
relative baseUrl
- Loading branch information
Showing
3 changed files
with
74 additions
and
2 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,35 @@ | ||
<h1 id="absolutization-of-rfc-3986-uris">Absolutization of RFC 3986 URIs</h1> | ||
|
||
<h2 id="absolute-uri">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> | ||
|
||
<p><a href="//example.com/"><img src="//example.com/logo" alt="section 4.2"></a></p> | ||
|
||
<h2 id="absolute-path">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> | ||
|
||
<p><a href="/base/content"><img src="/base/img" alt="section 4.2"></a></p> | ||
|
||
<h2 id="dot-relative-path">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> | ||
|
||
<p><a href="?"><img src="?type=image" alt="section 4.4"></a></p> | ||
|
||
<h2 id="same-document-fragment">Same-document fragment</h2> | ||
|
||
<p><a href="#"><img src="#img" alt="section 4.4"></a></p> | ||
|
||
<h2 id="empty">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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
baseUrl: "/base/" | ||
--- | ||
# Absolutization of RFC 3986 URIs | ||
|
||
## Absolute URI | ||
[![section 4.3](http://example.com/logo)](http://example.com/) | ||
|
||
## Network-path reference | ||
[![section 4.2](//example.com/logo)](//example.com/) | ||
|
||
## Absolute path | ||
[![section 4.2](/path/to/img)](/path/to/content) | ||
|
||
## Relative path | ||
[![section 4.2](img)](content) | ||
|
||
## Dot-relative path | ||
[![section 3.3](./img)](./content) | ||
|
||
[![section 3.3](../img)](../content) | ||
|
||
## Same-document query | ||
[![section 4.4](?type=image)](?) | ||
|
||
## Same-document fragment | ||
[![section 4.4](#img)](#) | ||
|
||
## Empty | ||
[section 4.2]() |
aff0aa4
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 aliased the URL https://markedjs-o8dyp5j9e.now.sh to the following aliases: