Closed mattjennings closed 1 year ago
This adds support for a custom Wrapper when the component is a named export.
Wrapper
Via remark config:
{ remarkPlugins: [ [ examples, { defaults: { Wrapper: ['some-package', 'CustomExample'] // -> import { CustomExample } from 'some-package' } } ] ] }
Via inline config:
```svelte example Wrapper=["some-package", "CustomExample"]
This adds support for a custom
Wrapper
when the component is a named export.Via remark config:
Via inline config: