Posts: 4,621
Threads: 113
Joined: Dec 2011
Thanks: 51
Given 57 thank(s) in 409 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,486
Threads: 176
Joined: Jan 2012
Thanks: 40
Given 157 thank(s) in 838 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,621
Threads: 113
Joined: Dec 2011
Thanks: 51
Given 57 thank(s) in 409 post(s)
But the problem with that is that it's really hard to make a list that way.
Posts: 4,621
Threads: 113
Joined: Dec 2011
Thanks: 51
Given 57 thank(s) in 409 post(s)
Maybe a {%n} that gets replaced by a simple \n?
Posts: 6,486
Threads: 176
Joined: Jan 2012
Thanks: 40
Given 157 thank(s) in 838 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.