Posts: 4,628
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 post(s)
I have a question about InfoDump. It replaces each "\n" with " ". Why is that? Now it's really hard for me to create a nice example for HungerGames because it's either two spaces or none.
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 post(s)
STR, InfoDump does that so that the descriptions can be wrapped in the source file and yet the output contains no CRLFs. This is needed so that the forum doesn't wrap the text on both the page width and the manual CRLFs.
Posts: 4,628
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 post(s)
But the problem with that is that it's really hard to make a list that way.
Posts: 4,628
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 post(s)
Maybe a {%n} that gets replaced by a simple \n?
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 post(s)
And what will it be replaced in GitHub processor?
I think you're going around this the wrong way, you're thinking about the formatting, rather than the content. We should use content-based markup and let the forum / github processors to decide the final formatting.