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