# Developing Julia modules with Pluto

**URL:** https://discourse.julialang.org/t/developing-julia-modules-with-pluto/61862
**Category:** Pluto
**Created:** [May 26, 2021, 2:52pm UTC](https://discourse.julialang.org/t/developing-julia-modules-with-pluto/61862 "2021-05-26T14:52:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ngoc-Duc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ngoc-duc/32/25493_2.png) [@Ngoc-Duc](https://discourse.julialang.org/u/Ngoc-Duc)
#### Post date: [May 26, 2021, 2:52pm UTC](https://discourse.julialang.org/t/developing-julia-modules-with-pluto/61862/1 "2021-05-26T14:52:29Z")

</div>

I noticed that in pluto notebooks, there are always 2 imported packages: Markdown and InteractiveUtils. But if we want to use those notebooks as modules, we really dont need them at all. Why they are not commented like the other cells in pluto notebooks?

---

<div class="post-metadata">

### Author: ![roflmaostc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/roflmaostc/32/30123_2.png) [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)
#### Post date: [May 26, 2021, 6:36pm UTC](https://discourse.julialang.org/t/developing-julia-modules-with-pluto/61862/2 "2021-05-26T18:36:44Z")

</div>

I can imagine the situation that a variable is defined via a slider within a `md` block.  
If you would omit the markdown dependency in the non-Pluto case the `md` doesn’t work anymore and you would need to extract the information from that.

So it might be possible but maybe not worth the trouble?

I prefer Pluto notebooks as simple example demonstrations of a proper package and since local packages are so easy to handle with Revise, I just load them from Pluto.

---

<div class="post-metadata">

### Author: ![Ngoc-Duc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ngoc-duc/32/25493_2.png) [@Ngoc-Duc](https://discourse.julialang.org/u/Ngoc-Duc)
#### Post date: [May 27, 2021, 1:16am UTC](https://discourse.julialang.org/t/developing-julia-modules-with-pluto/61862/3 "2021-05-27T01:16:33Z")

</div>

Yes, we can not remove markdown dependency, but the problem here is that we are importing them multiple times and it may lead to performance downgrade.

---

<div class="post-metadata">

### Author: ![jw3126](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jw3126/32/3086_2.png) [@jw3126](https://discourse.julialang.org/u/jw3126)
#### Post date: [May 27, 2021, 8:04am UTC](https://discourse.julialang.org/t/developing-julia-modules-with-pluto/61862/4 "2021-05-27T08:04:25Z")

</div>

I think the effect on performance will be neglegible.

```julia

julia> @time for _ in 1:1000
           using Markdown
       end
  0.051686 seconds (170.99 k allocations: 15.396 MiB, 7.41% gc time)

```
