gatsby-remark-unwrap-images
Usecase
gatsby-remark-unwrap-images
is usefull if your want to style paragraphs and images differently.
You can easily have full width images and margin around texts to have a Medium style posts.
}
gatsby-remark-unwrap-images
With Hello Word! 
The previous markdown will generate the following DOM:
Hello Word!
gatsby-remark-unwrap-images
Without Hello Word! 
The previous markdown will generate the following DOM:
Hello Word!
Getting started
You can download gatsby-remark-unwrap-images
from the NPM registry via the
npm
or yarn
commands
yarn add gatsby-remark-unwrap-imagesnpm install gatsby-remark-unwrap-images --save
Usage
Add the plugin in your gatsby-config.js
file:
moduleexports = plugins: resolve: "gatsby-transformer-remark" options: plugins: "gatsby-remark-unwrap-images"
Contributing
- ⇄ Pull/Merge requests and ★ Stars are always welcome.
- For bugs and feature requests, please create an issue.
See CONTRIBUTING.md guidelines
Changelog
See CHANGELOG.md
License
This project is licensed under the MIT License - see the LICENCE.md file for details