tprelog
Patron
- Joined
- Mar 2, 2016
- Messages
- 241
I'm having trouble with code formatting while creating a resource
Here are 2 lines of code. Here it is displayed with no line wrap but the code box still wasting much space with empty lines.
I thought these used to size to only the needed height for the code they contain?
When I post the exact same code in my resource description things are even worse
This screenshot show what I mean
Not only does look horrible, it appears there are 4 commands - when in fact it's only 2!
I have checked forum's BB Code reference but found nothing to fix these issues.
Can somebody please help me fix this or link to a possible solution?
Thanks
Here are 2 lines of code. Here it is displayed with no line wrap but the code box still wasting much space with empty lines.
I thought these used to size to only the needed height for the code they contain?
Code:
wget -O /tmp/pkglist.json https://raw.githubusercontent.com/tprelog/iocage-homeassistant/master/pkg-list.json sudo iocage create -r 11.2-RELEASE boot=on dhcp=on bpf=yes vnet=on -p /tmp/pkglist.json -n homeassistant
When I post the exact same code in my resource description things are even worse
This screenshot show what I mean
Not only does look horrible, it appears there are 4 commands - when in fact it's only 2!
I have checked forum's BB Code reference but found nothing to fix these issues.
Can somebody please help me fix this or link to a possible solution?
Thanks