# How to enable Juno on non-jl file types (e.g. \*.adoc)?

**URL:** <https://discourse.julialang.org/t/how-to-enable-juno-on-non-jl-file-types-e-g-adoc/27498>\
**Category:** Juno\
**Created:** [August 13, 2019, 12:46pm UTC](https://discourse.julialang.org/t/how-to-enable-juno-on-non-jl-file-types-e-g-adoc/27498 "2019-08-13T12:46:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [August 13, 2019, 12:46pm UTC](https://discourse.julialang.org/t/how-to-enable-juno-on-non-jl-file-types-e-g-adoc/27498/1 "2019-08-13T12:46:20Z")

</div>

On Juno, the possibility to run Julia code seems to be reserved to `.jl` files.  
I look for how to add it to my `*.adoc` files, so I don’t need to copy/rename them in order to run code snippets on them, but it’s not in the package settings.

So, how can I run Julia code in non-jl files ?

---

<div class="post-metadata">

**Author:** ![pixel27](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pixel27/32/8902_2.png) [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Post date:** [August 14, 2019, 7:01pm UTC](https://discourse.julialang.org/t/how-to-enable-juno-on-non-jl-file-types-e-g-adoc/27498/2 "2019-08-14T19:01:12Z")

</div>

If you set the “document type” in Atom to Julia that seems to work. To have that done automatically you would need to configure Atom to select the correct language:

[https://flight-manual.atom.io/using-atom/sections/basic-customization/#customizing-language-recognition](https://flight-manual.atom.io/using-atom/sections/basic-customization/#customizing-language-recognition)

---

<div class="post-metadata">

**Author:** ![aviatesk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aviatesk/32/7610_2.png) [@aviatesk](https://discourse.julialang.org/u/aviatesk)\
**Post date:** [August 16, 2019, 9:41am UTC](https://discourse.julialang.org/t/how-to-enable-juno-on-non-jl-file-types-e-g-adoc/27498/3 "2019-08-16T09:41:57Z")

</div>

I introduced the config to allow what you want in Juno 0.8.8: [https://github.com/JunoLab/atom-julia-client/pull/563](https://github.com/JunoLab/atom-julia-client/pull/563)

What you need to do is:

- Check grammar scope of `.adoc` files via `Editor: Log-Cursor-Scope`: [Scoped Settings, Scopes and Scope Descriptors](https://flight-manual.atom.io/behind-atom/sections/scoped-settings-scopes-and-scope-descriptors/)
- Add it to julia-client’s `Julia Syntax Scopes` config scheme
- Restart Atom

Note this can cause some weird behaviours, since Juno is developed assuming it’s only used for Julia files.
