diff --git a/static/i18n/index/en.json b/static/i18n/index/en.json index bc0bc92..619dfca 100644 --- a/static/i18n/index/en.json +++ b/static/i18n/index/en.json @@ -1,6 +1,6 @@ { "title": "lightweight & powerful", - "cover": "./static/image/header_en.jpg", + "cover": "/static/image/header_en.jpg", "quote": "A Markdown editor built with pure JavaScript and native APIs.
Supports real-time preview and automatic detection of YouTube/Vimeo videos.
Perfect for web integration, such as blog projects.", "intro": "Powerful and easy to embed, instantly add a Markdown editor to your project.", "photo": "not created yet", diff --git a/static/i18n/index/zh.json b/static/i18n/index/zh.json index c8c138f..a3875b9 100644 --- a/static/i18n/index/zh.json +++ b/static/i18n/index/zh.json @@ -1,6 +1,6 @@ { "title": "輕量且強大的編輯器", - "cover": "./static/image/header_zh.jpg", + "cover": "/static/image/header_zh.jpg", "quote": "這是一款基於純 JavaScript 和原生 API 的 Markdown 編輯器,
支持標準 Markdown 語法與多項擴展功能,包括即時預覽、自動檢測 YouTube / Vimeo 影片等。
專為網頁整合設計,適用於部落格等需要編輯器的專案。", "intro": "功能強大、方便嵌入,立即為你的專案加上 Markdown 編輯器。", "photo": "圖片尚未製作", diff --git a/static/md/en/image.md b/static/md/en/image.md index 6adc065..a0308f8 100644 --- a/static/md/en/image.md +++ b/static/md/en/image.md @@ -4,35 +4,35 @@ - Image: [Image Source](https://pixabay.com/photos/corn-harvest-fall-thanksgiving-9135131/) ``` - ![](./static/image/corn-9135131_640.jpg) + ![](/static/image/corn-9135131_640.jpg) ``` - ![](./static/image/corn-9135131_640.jpg) + ![](/static/image/corn-9135131_640.jpg) - Image with description: [Image Source](https://pixabay.com/photos/dog-irish-setter-mischievous-7128749/) ``` - ![Example image from Pixabay](./static/image/dog-7128749_640.jpg) + ![Example image from Pixabay](/static/image/dog-7128749_640.jpg) ``` - ![Example image from Pixabay](./static/image/dog-7128749_640.jpg) + ![Example image from Pixabay](/static/image/dog-7128749_640.jpg) - Image with title: [Image Source](https://pixabay.com/photos/stilt-bird-animal-feathers-plumage-8593487/) ``` - ![](./static/image/stilt-8593487_640.jpg "Example image from Pixabay") + ![](/static/image/stilt-8593487_640.jpg "Example image from Pixabay") ``` - ![](./static/image/stilt-8593487_640.jpg "Example image from Pixabay") + ![](/static/image/stilt-8593487_640.jpg "Example image from Pixabay") - Image with link: [Image Source](https://pixabay.com/photos/hippopotamus-hippo-baby-hippo-9147023/) ``` - [![](./static/image/hippopotamus-9147023_640.jpg)](https://pixabay.com/photos/hippopotamus-hippo-baby-hippo-9147023/) + [![](/static/image/hippopotamus-9147023_640.jpg)](https://pixabay.com/photos/hippopotamus-hippo-baby-hippo-9147023/) ``` - [![](./static/image/hippopotamus-9147023_640.jpg)](https://pixabay.com/photos/hippopotamus-hippo-baby-hippo-9147023/) + [![](/static/image/hippopotamus-9147023_640.jpg)](https://pixabay.com/photos/hippopotamus-hippo-baby-hippo-9147023/) ### Extensions - Video: [Video Source](https://pixabay.com/videos/ocean-sea-wave-water-sunset-233867/) ``` - ![](./static/image/233867_tiny.mp4) + ![](/static/image/233867_tiny.mp4) ``` - ![](./static/image/233867_tiny.mp4) + ![](/static/image/233867_tiny.mp4) - Image with size: [Image Source](https://pixabay.com/photos/flamingo-nature-bird-wildlife-9190160/) ``` - ![](./static/image/flamingo-9190160_640.jpg)(50%*) + ![](/static/image/flamingo-9190160_640.jpg)(50%*) ``` - ![](./static/image/flamingo-9190160_640.jpg)(50%*) \ No newline at end of file + ![](/static/image/flamingo-9190160_640.jpg)(50%*) \ No newline at end of file diff --git a/static/md/zh/image.md b/static/md/zh/image.md index 2264155..92469b2 100644 --- a/static/md/zh/image.md +++ b/static/md/zh/image.md @@ -4,35 +4,35 @@ - 圖片: [Image Source](https://pixabay.com/photos/corn-harvest-fall-thanksgiving-9135131/) ``` - ![](./static/image/corn-9135131_640.jpg) + ![](/static/image/corn-9135131_640.jpg) ``` - ![](./static/image/corn-9135131_640.jpg) + ![](/static/image/corn-9135131_640.jpg) - 圖片搭配描述: [Image Source](https://pixabay.com/photos/dog-irish-setter-mischievous-7128749/) ``` - ![Example image from Pixabay](./static/image/dog-7128749_640.jpg) + ![Example image from Pixabay](/static/image/dog-7128749_640.jpg) ``` - ![Example image from Pixabay](./static/image/dog-7128749_640.jpg) + ![Example image from Pixabay](/static/image/dog-7128749_640.jpg) - 圖片搭配標題: [Image Source](https://pixabay.com/photos/stilt-bird-animal-feathers-plumage-8593487/) ``` - ![](./static/image/stilt-8593487_640.jpg "Example image from Pixabay") + ![](/static/image/stilt-8593487_640.jpg "Example image from Pixabay") ``` - ![](./static/image/stilt-8593487_640.jpg "Example image from Pixabay") + ![](/static/image/stilt-8593487_640.jpg "Example image from Pixabay") - 圖片搭配連結: [Image Source](https://pixabay.com/photos/hippopotamus-hippo-baby-hippo-9147023/) ``` - [![](./static/image/hippopotamus-9147023_640.jpg)](https://pixabay.com/photos/hippopotamus-hippo-baby-hippo-9147023/) + [![](/static/image/hippopotamus-9147023_640.jpg)](https://pixabay.com/photos/hippopotamus-hippo-baby-hippo-9147023/) ``` - [![](./static/image/hippopotamus-9147023_640.jpg)](https://pixabay.com/photos/hippopotamus-hippo-baby-hippo-9147023/) + [![](/static/image/hippopotamus-9147023_640.jpg)](https://pixabay.com/photos/hippopotamus-hippo-baby-hippo-9147023/) ### 擴展 - 影片: [Video Source](https://pixabay.com/videos/ocean-sea-wave-water-sunset-233867/) ``` - ![](./static/image/233867_tiny.mp4) + ![](/static/image/233867_tiny.mp4) ``` - ![](./static/image/233867_tiny.mp4) + ![](/static/image/233867_tiny.mp4) - 圖片搭配尺寸: [Image Source](https://pixabay.com/photos/flamingo-nature-bird-wildlife-9190160/) ``` - ![](./static/image/flamingo-9190160_640.jpg)(50%*) + ![](/static/image/flamingo-9190160_640.jpg)(50%*) ``` - ![](./static/image/flamingo-9190160_640.jpg)(50%*) \ No newline at end of file + ![](/static/image/flamingo-9190160_640.jpg)(50%*) \ No newline at end of file