Hello Sylvie,
If you want something like a Toggle function(ie. show more or show less), you will need extra js snippets or you can use any other available plugins. Otherwise, if you only want to minimize the lines of code, there is an excerpt block available. You can try that.
Thanks
Sujapati