scully-image icon indicating copy to clipboard operation
scully-image copied to clipboard

How to use plugin in markdown file

Open emekaelo opened this issue 2 years ago • 3 comments

dependencies

    "@angular/common": "~13.1.1",
    "@angular/core": "~13.1.1",
    "@scullyio/init": "^2.0.5",
    "@scullyio/ng-lib": "^2.0.0",
    "@scullyio/scully": "^2.0.0",
    "@scullyio/scully-plugin-puppeteer": "^2.0.0",
    "tslib": "^2.3.0",

I need to use this plugin with the images coming from the markdown file which is where I structure posts. A demo of how to use this plugin in the markdown file will also be appreciated.

emekaelo avatar May 16 '22 05:05 emekaelo

I think I have it working now. Try version 0.6.0. Take note of the need for a separate function registerScullyImageMarkdown that you will need to add to your scully config. The instructions to make it work should all be in the README. Let me know if I missed anything

cmgriffing avatar Jul 01 '22 20:07 cmgriffing

@BrunoElo Just bumping this again to see if it fixed things for you.

cmgriffing avatar Sep 17 '22 06:09 cmgriffing

I get these errors when I run the npm i scully-image command

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=8.11.4', npm: '6.10.1' },
npm WARN EBADENGINE   current: { node: 'v16.17.0', npm: '8.15.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=8.11.4', npm: '6.10.1' },
npm WARN EBADENGINE   current: { node: 'v16.17.0', npm: '8.15.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=8.11.4', npm: '6.10.1' },
npm WARN EBADENGINE   current: { node: 'v16.17.0', npm: '8.15.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=8.11.4', npm: '6.10.1' },
npm WARN EBADENGINE   current: { node: 'v16.17.0', npm: '8.15.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=8.11.4', npm: '6.10.1' },
npm WARN EBADENGINE   current: { node: 'v16.17.0', npm: '8.15.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=8.11.4', npm: '6.10.1' },
npm WARN EBADENGINE   current: { node: 'v16.17.0', npm: '8.15.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=8.11.4', npm: '6.10.1' },
npm WARN EBADENGINE   current: { node: 'v16.17.0', npm: '8.15.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=8.11.4', npm: '6.10.1' },
npm WARN EBADENGINE   current: { node: 'v16.17.0', npm: '8.15.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=8.11.4', npm: '6.10.1' },
npm WARN EBADENGINE   current: { node: 'v16.17.0', npm: '8.15.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=8.11.4', npm: '6.10.1' },
npm WARN EBADENGINE   current: { node: 'v16.17.0', npm: '8.15.0' }
npm WARN EBADENGINE }

emekaelo avatar Sep 30 '22 18:09 emekaelo