Some updates for my remark plugins
I made an update for the following plugins:
- remark-imagetools -> 0.1.3
- remark-svelte-auto-import -> 0.2.4
These were minor updates to improve their usability. Both plugins provide support for to generate some logging output configurable using the setting debug. This could have been done easily using the type Debug if you were using Typescript though you had to “calculate” the right number in Javascript. Therefore this propery now allows a string or an array of string providing the corresponding literals. For instance:
const config = {
...
debug: ['ScriptBefore', 'RootAfter']
...
}
Apart from that I ditched the dependencies to chalk for these dependencies as it referenced the global navigator hindering a static build.
In addition to this I’ve setup the example project remark-imagetools-example to be accessible using netlify, so you can check it out directly: