You've already forked pgbackrest
							
							
				mirror of
				https://github.com/pgbackrest/pgbackrest.git
				synced 2025-10-30 23:37:45 +02:00 
			
		
		
		
	Allow code blocks to have a type.
Currently this is only rendered in Markdown.
This commit is contained in:
		| @@ -290,7 +290,14 @@ sub sectionProcess | ||||
|                 $strMarkdown .= "\n_" . $oChild->paramGet('title') . "_:"; | ||||
|             } | ||||
|  | ||||
|             $strMarkdown .= "\n```\n" . trim($oChild->valueGet()) . "\n```"; | ||||
|             $strMarkdown .= "\n```"; | ||||
|  | ||||
|             if ($oChild->paramTest('type')) | ||||
|             { | ||||
|                 $strMarkdown .= $oChild->paramGet('type'); | ||||
|             } | ||||
|  | ||||
|             $strMarkdown .= "\n" . trim($oChild->valueGet()) . "\n```"; | ||||
|         } | ||||
|         # Add descriptive text | ||||
|         elsif ($oChild->nameGet() eq 'p') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user