@reshoot/remark-mdx-image
v2.0.6
Published
MDX integration for Reshoot
Downloads
5
Maintainers
Readme
@reshoot/remark-mdx-image
An mdx
/ remark-plugin
transpiling ![alt text](image.png "title"){{color='#eee'}}
into the following.import meta from 'image.png?color=#eee';<img meta={meta} alt="alt text" title="title" />
More about reshoot
.
Installation
# PNPM
pnpm add -D @reshoot/remark-mdx-image
# NPM
npm install -D @reshoot/remark-mdx-image
# yarn
yarn add -D @reshoot/remark-mdx-image
Setup
import reshootRemarkMdxImage from '@reshoot/remark-mdx-image';
// MDX options
const mdxOptions = {
remarkPlugins: [reshootRemarkMdxImage],
};
Support
This library has been continuously used in many of my personal projects, and is regarded as production-ready. In the foreseeable future, I will continuously maintain and support this library.
Issues and Feedback
Please voice your opinion and report bugs in the issues sections of this GitHub project.
Contributing
You are more than welcome to add more functionalities, improve documentation, fix bugs, and anything you think is needed. The build step is pretty self-explanatory. Please refer to package.json
.
License
MIT