BBCode Code Blocks should not have line wrapping

1
Ticket #9817
Opened by: Bertiecrafter
Status: Closed- Finished
Type:
Feature Request
Views:
53
Access:
Public
Opened:
4/5/20 7:47 am 4/5/20 7:47 am
Updated:
6/12/20 9:38 am 6/12/20 9:38 am
Assigned:
Code blocks should not wrap lines. Users might copy the code block contents and try to replicate the line layout elsewhere, breaking whatever technical code is in there. And while we're at it, it should also preserve whitespace.

Examples from my Data Pack Tutorial blog series that just break:

This should be indented like proper JSON:
{
"values": [
"<namespace>:crea-util/tick"
]
}



This should be 1 line:
tellraw @a {"text":"Hello World!","color":"yellow","extra":[{"text":"\nThe Creative Utilities datapack is created by <your username>","color":"aqua"},{"text":"\n Run /function <namespace>:crea-util/uninstall to uninstall.","color":"gray"}]}

06/12/2020 9:38 am
Level 69 : High Grandmaster Group
Cyprezz
set status to Closed, set resolution to Finished, assigned Cyprezz.
Oops, yep this was fixed before launch of the event.
1
06/12/2020 5:00 am
Level 52 : Grandmaster Cyborg
Bertiecrafter
Cyprezz this was fixed?
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome