Generates armory embeds markup from a chat code.
npm install armory-embeds-chat-codeimport parseChatCode from 'armory-embeds-chat-code';
parseChatCode('[&CvUbAAA=]');
// <div data-armory-embed="skins" data-armory-ids="7157"></div>| property | type | description |
|---|---|---|
| tag | string |
Custom tag for the embed, defaults to div. |
| attributes | Object |
Key/value object of extra attributes to add to the markup. |