The Inline Assets Plugin for Pattern Lab Node can be used to inline assets into your templates.
Add the Inline Assets Plugin to your project using npm:
npm install --save plugin-node-patternlab-inline-assets
After that tell Pattern Lab to install the plugin:
gulp patternlab:installplugin --plugin=plugin-node-patternlab-inline-assets
Wich will install and enable the plugin. You're now ready to use it.
Use 3 curly brackets to tell handlebars to stop escaping, then call the inline plugin and pass a path to your asset.
{{{inline-asset 'source/icons/arrow-down.svg'}}}
Your asset will then be inlined into your template before compiling.
The Inline Assets Plugin for Pattern Lab Node was created and is maintained by Michael Worm.