Browse files

asciidoc: add minor workaround to add an empty line after code blocks

Insert an empty <simpara> in manpages after code blocks to force and
empty line.

The problem can be seen on the manpage for the git tutorial, where an
example command and the following paragraph is printed with no empty
line between them:

     First, note that you can get documentation for a command such as git
     log --graph with:

         $ man git-log
     It is a good idea to introduce yourself to git [...]

Signed-off-by: Jonas Fonseca <>
Signed-off-by: Junio C Hamano <>
  • Loading branch information...
jonas authored and gitster committed Oct 30, 2008
1 parent d258b25 commit 9b6f84d2c2ff84ac3ef2215b6ea8ee45b6d943cd
Showing with 20 additions and 0 deletions.
  1. +20 −0 Documentation/asciidoc.conf
@@ -40,6 +40,26 @@ endif::doctype-manpage[]
+# The following two small workarounds insert a simple paragraph after screen
+<formalpara{id? id="{id}"}><title>{title}</title><para>
+{title%}<literallayout{id? id="{id}"}>

0 comments on commit 9b6f84d

Please sign in to comment.