2.0.6 • Published 2 years ago

@reshoot/remark-mdx-image v2.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@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

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago