{"repo":"lucsorel/markdown-image-loader","free":true,"listed":false,"github":"https://github.com/lucsorel/markdown-image-loader","clone":"git clone https://github.com/lucsorel/markdown-image-loader.git","description":"Handles image references involved in markdown files during the webpack processing.","language":"JavaScript","stars":17,"topics":["webpack-loader","markdown","image","bundling","loader","webpack","slideshow","remarkjs","revealjs"],"license":"MIT","category":"media-processing","readme_excerpt":"Markdown image loader Handles image references involved in markdown files during the webpack processing. Highly inspired from the Webpack: A simple loader article by Michael \"Z\" Goddard, rewritten with some ES6 flavor, use-case documentation and unit testing. Additions: the loader does not impact references to online images (eg: image path starting with http:// , https:// or // ) the loader handles markdown image references with a title Installation Install the markdown-image-loader along other webpack development dependencies: How it works In the webpack process, this loader extracts image references of markdown documents with a regular expression, then converts them into image file requirements so that the file-loader can process them in your build chain. Use cases Web-based slideshows This loader was originally designed to quickly setup web-based slideshows using markdown to build the content, webpack to produce the static files and webpack-dev-server to display the slideshow with live-reload , which can be interesting when editing the content while interacting with the audience . Two full setups are given in the examples/ folder of this repository: RemarkJS-based slideshow: this use-case was inspired by Sébastien Castiel (thanks!). This example works with webpack 5 RevealJS-based slideshow: this one is my initiative This example works with webpack 4 and an older version of Reveal.js (pull request to update this example are welcome) Both slideshow examples share the same p","default_branch":null,"files":null,"tree":[],"storefront":"/r/lucsorel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lucsorel/markdown-image-loader/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}