# Is there a config for Pluto?

**URL:** <https://discourse.julialang.org/t/is-there-a-config-for-pluto/66003>\
**Category:** New to Julia\
**Tags:** pluto\
**Created:** [August 8, 2021, 12:30am UTC](https://discourse.julialang.org/t/is-there-a-config-for-pluto/66003 "2021-08-08T00:30:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cybervigilante](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cybervigilante/32/26687_2.png) [@cybervigilante](https://discourse.julialang.org/u/cybervigilante)\
**Post date:** [August 8, 2021, 12:30am UTC](https://discourse.julialang.org/t/is-there-a-config-for-pluto/66003/1 "2021-08-08T00:30:58Z")

</div>

I know how to set a config item in Julia but it isn’t passing to Pluto, and I don’t see where the config for Pluto is. I tried creating a config and startup.jl in the pluto notebooks folder but no luck.

---

<div class="post-metadata">

**Author:** ![disberd](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@disberd](https://discourse.julialang.org/u/disberd)\
**Post date:** [August 8, 2021, 10:20am UTC](https://discourse.julialang.org/t/is-there-a-config-for-pluto/66003/2 "2021-08-08T10:20:21Z")

</div>

What exactly would you want to achieve with this “config”?

You can pass some configuration parameters as keyword argument to the call to `Pluto.run()`.

But there is currently no way (as far as I am aware) to execute custom julia code automatically in each notebook you create/open

You could create your own `script.jl` and include it in the first cell in your notebooks for some use cases

---

<div class="post-metadata">

**Author:** ![cybervigilante](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cybervigilante/32/26687_2.png) [@cybervigilante](https://discourse.julialang.org/u/cybervigilante)\
**Post date:** [August 8, 2021, 4:57pm UTC](https://discourse.julialang.org/t/is-there-a-config-for-pluto/66003/3 "2021-08-08T16:57:55Z")

</div>

I wrote a small hack that fixes the Print() function, which only prints the Last item in a list, and wanted it to load before Pluto. It’s useful so I wanted to load it in a config. I guess including it would work, though:

“”“Make PlutoUI’s Print(), print any number of arguments as a vertical list, without disappearing all but the last as it normally does, including numbers and basic vectors. It doesn’t like mixed-type vectors (bad idea anyway), anonymous functions, or complex stuff, but that’s a flaw in string(), not JPrint.”“”

```julia
function JPrint(args...)
	dummy = """"""
	for arg in args
		dummy *= string(arg)*"\n"
	end
	Print(dummy)
end

```

JPrint(“bim”,“baw”,“fallifaw”,“fartsy”,“artsy”,7,[3,4,14],[“all”,“good”,“dogs”,“eat”,“shoes”])

bim  
baw  
fallifaw  
fartsy  
artsy  
7  
[3, 4, 14]  
[“all”, “good”, “dogs”, “eat”, “shoes”]

---

<div class="post-metadata">

**Author:** ![lungben](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lungben/32/12314_2.png) [@lungben](https://discourse.julialang.org/u/lungben)\
**Post date:** [August 8, 2021, 5:44pm UTC](https://discourse.julialang.org/t/is-there-a-config-for-pluto/66003/4 "2021-08-08T17:44:14Z")

</div>

One important feature of Pluto notebooks (at least for most users) is portability. If a notebook would require a specific functionality in a startup file to work (or to look how it is intended) portability would be lost.  
However, I think a startup file would make sense for display / style which is subjective for each user. This could include things like dark mode, cell display width, code before / after cell output, etc., which are all not specific to certain notebooks but rather global preferences.  
But this would require a css / JS startup file in Pluto, not a Julia one.
