mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 20:15:27 +00:00
refactor: use AstroImageTools to optimize Markdown images
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import DownloadLink from './components/DownloadLink.astro';
|
||||
import EmailLink from './components/EmailLink.astro';
|
||||
import MarkdownImage from './components/MarkdownImage.astro';
|
||||
import MoreLink from './components/MoreLink.astro';
|
||||
import ThemeBox from './components/ThemeBox.astro';
|
||||
|
||||
@@ -13,7 +14,6 @@ import {
|
||||
DisplayBox,
|
||||
Divider,
|
||||
Flag,
|
||||
FloatingImage,
|
||||
Headline,
|
||||
ListItem,
|
||||
NetflixFlag,
|
||||
@@ -50,7 +50,7 @@ export const mapping = {
|
||||
h5: Subsubheadline,
|
||||
h6: Subsubheadline,
|
||||
hr: Divider,
|
||||
img: FloatingImage,
|
||||
img: MarkdownImage,
|
||||
li: ListItem,
|
||||
MoreLink,
|
||||
NetflixFlag,
|
||||
|
||||
Reference in New Issue
Block a user