Mt-plugin-custom-asset-markup is a project mainly written in Perl, it's free.
To be added. Need to reconstruct this after saving the plugin from a dead Trac installation.