-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from yurizhykin/master
Added support for image references (issue #74)
- Loading branch information
Showing
6 changed files
with
73 additions
and
5 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
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 @@ | ||
<p>You can optionally use a space to separate the sets of brackets:</p><p>This is <img src="http://example.com/" alt="an example" title="Optional Title Here" /> reference-style image descriptor.</p><p>This is <img src="http://example.com/" alt="an example" title="Optional Title Here" /> reference-style image descriptor.</p><p>This is <img src="http://example.com/" alt="an example" title='Optional Title Here' /> reference-style image descriptor.</p><p>This is <img src="http://example.com/" alt="an/example" title='Optional Title Here' /> reference-style image descriptor.</p><p>This is <img src="http://example.com/" alt="an'example" title='Optional Title Here' /> reference-style image descriptor.</p><p>Then, anywhere in the document, you define your image descriptor label like this, on a line by itself:</p><p>This is <img src="http://example.com/" alt="an example" title=(Optional Title Here) /> reference-style image descriptor.</p><p>This is <img src="http://example.com/" alt="an example" /> reference-style image descriptor.</p><p>A image descriptor with <img src="http://example.com/#<i>a</i>b" alt="an underscore" />.</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 @@ | ||
[id]: http://example.com/ "Optional Title Here" | ||
|
||
You can optionally use a space to separate the sets of brackets: | ||
|
||
This is ![an example] [id] reference-style image descriptor. | ||
|
||
This is ![an example][id] reference-style image descriptor. | ||
|
||
This is ![an example][id1] reference-style image descriptor. | ||
|
||
This is ![an/example][id1] reference-style image descriptor. | ||
|
||
This is ![an'example][id1] reference-style image descriptor. | ||
|
||
Then, anywhere in the document, you define your image descriptor label like this, on a line by itself: | ||
|
||
This is ![an example][id2] reference-style image descriptor. | ||
|
||
This is ![an example][id3] reference-style image descriptor. | ||
|
||
A image descriptor with ![an underscore][underscore]. | ||
|
||
[id1]: http://example.com/ 'Optional Title Here' | ||
|
||
[id2]: http://example.com/ (Optional Title Here) | ||
|
||
[id3]: http://example.com/ | ||
|
||
[underscore]: http://example.com/#_a_b | ||
|
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