# How to change CSS and remove double newline for @repl block in Documenter output?

**URL:** <https://discourse.julialang.org/t/how-to-change-css-and-remove-double-newline-for-repl-block-in-documenter-output/78753>\
**Category:** General Usage\
**Tags:** question, documenter\
**Created:** [March 30, 2022, 3:34pm UTC](https://discourse.julialang.org/t/how-to-change-css-and-remove-double-newline-for-repl-block-in-documenter-output/78753 "2022-03-30T15:34:11Z")\
**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:** [March 30, 2022, 3:34pm UTC](https://discourse.julialang.org/t/how-to-change-css-and-remove-double-newline-for-repl-block-in-documenter-output/78753/1 "2022-03-30T15:34:11Z")

</div>

Hello, I would like to make a couple of customisations to a Documenter output, more specifically when the @repl block is used:

- setting `padding-bottom` and `padding-top` to 0.1rem instead of 0.7
- remove the extra newline between one repl output and the next (currently there are 3 newlines, i.e. two empty lines)

I guess that for the first one I can add a CSS file but I don’t know how to tell Documenter to use it 😉 and for the second perhaps there is some template system, I can see it in the [documentation](https://juliadocs.github.io/Documenter.jl/stable/lib/internals/documentertools/#Generator) but is it there an easier to digest tutorial ?  
Or maybe I can just play with the CSS for it without touching the theme… all I need is to reduce the vertical space that currently is too large:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/2/5/25f5b0237decb0b3365b69589ede517c75a2e0e0.png)

Any suggestion ?

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [March 30, 2022, 3:42pm UTC](https://discourse.julialang.org/t/how-to-change-css-and-remove-double-newline-for-repl-block-in-documenter-output/78753/2 "2022-03-30T15:42:11Z")

</div>

That’s a bug and should’ve been fixed by [https://github.com/JuliaDocs/Documenter.jl/pull/1774](https://github.com/JuliaDocs/Documenter.jl/pull/1774). Are you sure you are on Documenter 0.27.15?

---

<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:** [March 30, 2022, 4:16pm UTC](https://discourse.julialang.org/t/how-to-change-css-and-remove-double-newline-for-repl-block-in-documenter-output/78753/3 "2022-03-30T16:16:07Z")

</div>

yep, with 0.27.15 the problem got solved, tk!
