2

I've stumbled upon an issue where GitHub refuses to preserve the line breaks in code blocks within AsciiDoc readme files or wiki pages. Googling the problem produced a bug on the GitHub tracker, which marks the issue as resolved without a good explanation.

What should I do to make GitHub preserve line breaks?

dkobozev
  • 2,265
  • 2
  • 21
  • 21
  • I suggest to ask directly at the mentioned issue as the devs of AsciiDoc rather read their own issue tracker than stackoverflow. :) – q9f Mar 25 '12 at 09:41

1 Answers1

4

GitHub is no longer using Asciidoc (Announcement), they are using Asciidoctor instead. The link I provided highlights the differences between Asciidoc and Asciidoctor and might be what you need to create your .asciidoc with the above considerations.

DavidGamba
  • 3,503
  • 2
  • 30
  • 46