.gramps
and .gpkg
file attachments ARE allowed.
Or you can post XML source code for import via the Import Text gramplet. (Source on Discourse has a copy codeblock button enabled in the upper right of the scrollable code.)
In an example of sharing a custom filter XML definition we add the xml notation after the codeblock start with 3 backticks so that the color coding is appropriate. (I like to wrap them in <small></small>
html tags. But there must be an extra linefeed between.)