fix #179: replace github images ressource by https instead of http

This commit is contained in:
Mathieu Cornic 2018-10-10 19:29:55 +02:00
parent 589cbd30de
commit 17bdacdd9f
2 changed files with 36 additions and 36 deletions

View file

@ -596,15 +596,15 @@ Content for chapter one.
Images have a similar syntax to links but include a preceding exclamation point. Images have a similar syntax to links but include a preceding exclamation point.
```markdown ```markdown
![Minion](http://octodex.github.com/images/minion.png) ![Minion](https://octodex.github.com/images/minion.png)
``` ```
![Minion](http://octodex.github.com/images/minion.png) ![Minion](https://octodex.github.com/images/minion.png)
or or
```markdown ```markdown
![Alt text](http://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat") ![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
``` ```
![Alt text](http://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat") ![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
Like links, Images also have a footnote style syntax Like links, Images also have a footnote style syntax
@ -617,47 +617,47 @@ Like links, Images also have a footnote style syntax
With a reference later in the document defining the URL location: With a reference later in the document defining the URL location:
[id]: http://octodex.github.com/images/dojocat.jpg "The Dojocat" [id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
[id]: http://octodex.github.com/images/dojocat.jpg "The Dojocat" [id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
### Resizing image ### Resizing image
Add HTTP parameters `width` and/or `height` to the link image to resize the image. Values are CSS values (default is `auto`). Add HTTP parameters `width` and/or `height` to the link image to resize the image. Values are CSS values (default is `auto`).
```markdown ```markdown
![Minion](http://octodex.github.com/images/minion.png?width=20pc) ![Minion](https://octodex.github.com/images/minion.png?width=20pc)
``` ```
![Minion](http://octodex.github.com/images/minion.png?width=20pc) ![Minion](https://octodex.github.com/images/minion.png?width=20pc)
```markdown ```markdown
![Minion](http://octodex.github.com/images/minion.png?height=50px) ![Minion](https://octodex.github.com/images/minion.png?height=50px)
``` ```
![Minion](http://octodex.github.com/images/minion.png?height=50px) ![Minion](https://octodex.github.com/images/minion.png?height=50px)
```markdown ```markdown
![Minion](http://octodex.github.com/images/minion.png?height=50px&width=300px) ![Minion](https://octodex.github.com/images/minion.png?height=50px&width=300px)
``` ```
![Minion](http://octodex.github.com/images/minion.png?height=50px&width=300px) ![Minion](https://octodex.github.com/images/minion.png?height=50px&width=300px)
### Add CSS classes ### Add CSS classes
Add a HTTP `classes` parameter to the link image to add CSS classes. `shadow`and `border` are available but you could define other ones. Add a HTTP `classes` parameter to the link image to add CSS classes. `shadow`and `border` are available but you could define other ones.
```markdown ```markdown
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=shadow) ![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=shadow)
``` ```
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=shadow) ![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=shadow)
```markdown ```markdown
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=border) ![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=border)
``` ```
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border) ![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border)
```markdown ```markdown
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=border,shadow) ![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=border,shadow)
``` ```
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border,shadow) ![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border,shadow)

View file

@ -598,15 +598,15 @@ Content for chapter one.
Images have a similar syntax to links but include a preceding exclamation point. Images have a similar syntax to links but include a preceding exclamation point.
```markdown ```markdown
![Minion](http://octodex.github.com/images/minion.png) ![Minion](https://octodex.github.com/images/minion.png)
``` ```
![Minion](http://octodex.github.com/images/minion.png) ![Minion](https://octodex.github.com/images/minion.png)
or or
```markdown ```markdown
![Alt text](http://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat") ![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
``` ```
![Alt text](http://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat") ![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
Like links, Images also have a footnote style syntax Like links, Images also have a footnote style syntax
@ -619,47 +619,47 @@ Like links, Images also have a footnote style syntax
With a reference later in the document defining the URL location: With a reference later in the document defining the URL location:
[id]: http://octodex.github.com/images/dojocat.jpg "The Dojocat" [id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
[id]: http://octodex.github.com/images/dojocat.jpg "The Dojocat" [id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
### Resizing image ### Resizing image
Add HTTP parameters `width` and/or `height` to the link image to resize the image. Values are CSS values (default is `auto`). Add HTTP parameters `width` and/or `height` to the link image to resize the image. Values are CSS values (default is `auto`).
```markdown ```markdown
![Minion](http://octodex.github.com/images/minion.png?width=20pc) ![Minion](https://octodex.github.com/images/minion.png?width=20pc)
``` ```
![Minion](http://octodex.github.com/images/minion.png?width=20pc) ![Minion](https://octodex.github.com/images/minion.png?width=20pc)
```markdown ```markdown
![Minion](http://octodex.github.com/images/minion.png?height=50px) ![Minion](https://octodex.github.com/images/minion.png?height=50px)
``` ```
![Minion](http://octodex.github.com/images/minion.png?height=50px) ![Minion](https://octodex.github.com/images/minion.png?height=50px)
```markdown ```markdown
![Minion](http://octodex.github.com/images/minion.png?height=50px&width=300px) ![Minion](https://octodex.github.com/images/minion.png?height=50px&width=300px)
``` ```
![Minion](http://octodex.github.com/images/minion.png?height=50px&width=300px) ![Minion](https://octodex.github.com/images/minion.png?height=50px&width=300px)
### Add CSS classes ### Add CSS classes
Add a HTTP `classes` parameter to the link image to add CSS classes. `shadow`and `border` are available but you could define other ones. Add a HTTP `classes` parameter to the link image to add CSS classes. `shadow`and `border` are available but you could define other ones.
```markdown ```markdown
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=shadow) ![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=shadow)
``` ```
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=shadow) ![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=shadow)
```markdown ```markdown
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=border) ![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=border)
``` ```
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border) ![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border)
```markdown ```markdown
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=border,shadow) ![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=border,shadow)
``` ```
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border,shadow) ![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border,shadow)