diff --git a/ru/_images/cover-dark.png b/ru/_images/cover-dark.png new file mode 100644 index 0000000..28d48e5 Binary files /dev/null and b/ru/_images/cover-dark.png differ diff --git a/ru/_images/cover.png b/ru/_images/cover.png new file mode 100644 index 0000000..f9247e8 Binary files /dev/null and b/ru/_images/cover.png differ diff --git a/ru/_images/mountain.jpg b/ru/_images/mountain.jpg new file mode 100644 index 0000000..06af590 Binary files /dev/null and b/ru/_images/mountain.jpg differ diff --git a/ru/project/pc-example1.yaml b/ru/project/pc-example1.yaml index 05fbd3b..5aa5f26 100644 --- a/ru/project/pc-example1.yaml +++ b/ru/project/pc-example1.yaml @@ -9,14 +9,14 @@ blocks: background: light: image: - mobile: '../../_images/cover.png' + mobile: '../_images/cover.png' desktop: 'https://storage.yandexcloud.net/diplodoc-www-assets/pages/index-diplodoc/ddos-index-cover.png' disableCompress: true color: '#C6FE4D' fullWidth: false dark: image: - mobile: '../../_images/cover-dark.png' + mobile: '../_images/cover-dark.png' desktop: 'https://storage.yandexcloud.net/diplodoc-www-assets/pages/index-diplodoc/ddos-index-cover-dark.png' disableCompress: true color: '#C6FE4D' diff --git a/ru/project/pc-example3.yaml b/ru/project/pc-example3.yaml index 8b50249..0dca128 100644 --- a/ru/project/pc-example3.yaml +++ b/ru/project/pc-example3.yaml @@ -10,14 +10,14 @@ blocks: background: light: image: - mobile: '../../_images/cover.png' + mobile: '../_images/cover.png' desktop: 'https://storage.yandexcloud.net/diplodoc-www-assets/pages/index-diplodoc/ddos-index-cover.png' disableCompress: true color: '#C6FE4D' fullWidth: false dark: image: - mobile: '../../_images/cover-dark.png' + mobile: '../_images/cover-dark.png' desktop: 'https://storage.yandexcloud.net/diplodoc-www-assets/pages/index-diplodoc/ddos-index-cover-dark.png' disableCompress: true color: '#C6FE4D' diff --git a/ru/syntax/media.md b/ru/syntax/media.md index 3563bb8..ddda634 100644 --- a/ru/syntax/media.md +++ b/ru/syntax/media.md @@ -29,12 +29,12 @@ Вы можете сделать изображение кликабельным, используя [правила оформления ссылок](./links.md). Для этого добавьте стандартную разметку изображения в ту часть, которая предназначена для указания текста ссылки. ```markdown -[![An old rock in the desert](../../_images/mountain.jpg "Mountain" =100x200)](https://yandex.com/images/search?text=mountain) +[![An old rock in the desert](../_images/mountain.jpg "Mountain" =100x200)](https://yandex.com/images/search?text=mountain) ``` **Результат:** -[![An old rock in the desert](../../_images/mountain.jpg "Mountain" =100x200)](https://yandex.com/images/search?text=mountain) +[![An old rock in the desert](../_images/mountain.jpg "Mountain" =100x200)](https://yandex.com/images/search?text=mountain) ### Reference-style разметка для изображений {#reference-style} @@ -43,14 +43,14 @@ ```markdown ![An old rock in the desert][image1] -[image1]: ../../_images/mountain.jpg "Mountain" +[image1]: ../_images/mountain.jpg "Mountain" ``` **Результат:** ![An old rock in the desert][image1] -[image1]: ../../_images/mountain.jpg "Mountain" +[image1]: ../_images/mountain.jpg "Mountain" ## Видео {#video}