# Adding support to .adl/adls/opt/oet... as allowed file extensions in upload attachments **Category:** [Site Feedback](https://discourse.openehr.org/c/site-feedback/2) **Created:** 2019-11-14 09:11 UTC **Views:** 2237 **Replies:** 5 **URL:** https://discourse.openehr.org/t/adding-support-to-adl-adls-opt-oet-as-allowed-file-extensions-in-upload-attachments/147 --- ## Post #1 by @yampeku Sending little archetype snippets seems something we will end doing. I assume these file extensions (at least) should be added --- ## Post #2 by @thomas.beale We can specify languages for syntax highlighting : ![image|645x197](upload://kyiQ1tnFzcVFx6mY7zxA5d8pZBL.png) some work would be needed to support things like ADL (see the link) And I've now added the requested extensions for upload types: ![image|627x133](upload://tRZX13KGVIGrTz4pW1V8HC0N0VE.png) --- ## Post #3 by @yampeku I actually have these kinds of rules defined somewhere. I can have a look at it --- ## Post #4 by @pieterbos We do have ADL 2 syntax highlighting in javascript using the Ace editor. Can be adapted to support ADL 1.4 relatively easily. I can share the code, but I'm not sure if it helps. I think discourse uses highlightjs, which is a bit of a different approach than Ace. --- ## Post #5 by @siljelb Could .xmind and .mm be added too? We use these for mindmaps. --- ## Post #6 by @thomas.beale Hi Silje, I've now done this. --- **Canonical:** https://discourse.openehr.org/t/adding-support-to-adl-adls-opt-oet-as-allowed-file-extensions-in-upload-attachments/147 **Original content:** https://discourse.openehr.org/t/adding-support-to-adl-adls-opt-oet-as-allowed-file-extensions-in-upload-attachments/147