When you insert a Markdown code block (```) into your message, it receives automatic vertical scrollbar if its content is long enough. But I don’t mind having long listings in messages and want to display code inline until it reaches, say, 200 lines long. Is there a way to control this threshold?
Alternatively, if no such threshold can be set, is it possible to completely unroll the listing regardless its length? I tried setting display: table
to code tag, it worked, but block width got shrink to content width too. So I tried setting width: 100%
, but that resulted in having horizontal scrollbar emerged. I’m not that skilled in CSS, could anybody please help me?