KevinBatdorf / code-block-pro

A Gutenberg code block with syntax highlighting powered by VS Code
https://code-block-pro.com
132 stars 10 forks source link

Add a button to enable multiline display of a large line of code #299

Open FlynnHub opened 8 months ago

FlynnHub commented 8 months ago

Hi 😊

It's more like a request than an issue. Maybe there is a way to do what i want but i don't know how 🤔 I want to put my large one line of code into multiline. My line is like :

apt-get install apache2 libapache2-mod-php8.2 mariadb-server unzip php8.2 php8.2-bz2 php8.2-cgi php8.2-cli php8.2-common php8.2-curl php8.2-fpm php8.2-gd php8.2-gmagick php8.2-igbinary php8.2-intl php8.2-mbstring php8.2-mysql php8.2-opcache php8.2-phpdbg php8.2-pspell php8.2-readline php8.2-snmp php8.2-soap php8.2-sybase php8.2-tidy php8.2-xml php8.2-zip

Capture d'écran 2024-03-03 003030

The scroll bar is ugly and i think it would be a good idea to be able to put several lines for a single code.

Bests regards, Thanks :)

KevinBatdorf commented 8 months ago

I don't have a universal way for this as it will break some other features but if you want to share a url to a page with that code I can give you some css to get that working.