Open mathieudutour opened 5 years ago
Do you mean the header/hero/thumbnail? If that's the case, then you can add a thumbnail
field to the frontmatter, and probably a layout
field too in which the user specifies the desired layout.
I mean that each image on Medium can be set as full-width, container-width, or floating (left or right).
There is no "hero" image on medium, it's just an image at the beginning which can be set as full-width
Oh, I see. Well, if you do not want to use HTML in Markdown, you can use gatsby-remark-custom-blocks
.
we could also use a React component and leverage mdx.
Medium has a few options for the layout of images. Can we somehow preserve it?