# Customize show for repl

**URL:** https://discourse.julialang.org/t/customize-show-for-repl/62870
**Category:** New to Julia
**Tags:** show
**Created:** [June 14, 2021, 9:34am UTC](https://discourse.julialang.org/t/customize-show-for-repl/62870 "2021-06-14T09:34:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jzr](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jzr](https://discourse.julialang.org/u/jzr)
#### Post date: [June 14, 2021, 9:34am UTC](https://discourse.julialang.org/t/customize-show-for-repl/62870/1 "2021-06-14T09:34:45Z")

</div>

I want to customize how Ints are printed in my repl.

I looked at [Types · The Julia Language](https://docs.julialang.org/en/v1/manual/types/#man-custom-pretty-printing) and [The Julia REPL · The Julia Language](https://docs.julialang.org/en/v1/stdlib/REPL/)

I tried

```julia
show(io::IO, ::MIME"text/plain", x::Int) = print(io, "Int--$(x)--")

```

but that doesn’t affect how it’s represented in the repl.

```julia
julia> 3
3

```

---

<div class="post-metadata">

### Author: ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)
#### Post date: [June 14, 2021, 10:19am UTC](https://discourse.julialang.org/t/customize-show-for-repl/62870/2 "2021-06-14T10:19:34Z")

</div>

```julia
julia> Base.show(io::IO, ::MIME"text/plain", x::Int) = print(io, "Int--$(x)--")

julia> 3
Int--3--

```
