mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Fixes cli error for Asciidoctor (#12677)
The original fix for #8676 introduced illegal arguments for Asciidoctor, causing no rendering at all. This PR fixes the command line arguments so that Asciidoctor properly renders the text. See https://asciidoctor.org/docs/user-manual/#piping-content-through-the-cli as reference.
This commit is contained in:
		@@ -53,7 +53,7 @@ add one `[markup.XXXXX]` section per external renderer on your custom `app.ini`:
 | 
				
			|||||||
[markup.asciidoc]
 | 
					[markup.asciidoc]
 | 
				
			||||||
ENABLED = true
 | 
					ENABLED = true
 | 
				
			||||||
FILE_EXTENSIONS = .adoc,.asciidoc
 | 
					FILE_EXTENSIONS = .adoc,.asciidoc
 | 
				
			||||||
RENDER_COMMAND = "asciidoctor -e -a leveloffset=-1 --out-file=- -"
 | 
					RENDER_COMMAND = "asciidoctor -s -a showtitle --out-file=- -"
 | 
				
			||||||
; Input is not a standard input but a file
 | 
					; Input is not a standard input but a file
 | 
				
			||||||
IS_INPUT_FILE = false
 | 
					IS_INPUT_FILE = false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user