Serializes an attributes object back to a Pandoc-style attribute string.
The attributes object to serialize
Serialized attribute string
serializeAttributes({ class: 'btn primary', id: 'submit', disabled: true, type: 'button' })// → '.btn.primary #submit disabled type="button"' Copy
serializeAttributes({ class: 'btn primary', id: 'submit', disabled: true, type: 'button' })// → '.btn.primary #submit disabled type="button"'
Serializes an attributes object back to a Pandoc-style attribute string.