mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	@@ -1019,4 +1019,10 @@ func TestAttention(t *testing.T) {
 | 
			
		||||
	test(`> [!important]`, renderAttention("important", "octicon-report")+"\n</blockquote>")
 | 
			
		||||
	test(`> [!warning]`, renderAttention("warning", "octicon-alert")+"\n</blockquote>")
 | 
			
		||||
	test(`> [!caution]`, renderAttention("caution", "octicon-stop")+"\n</blockquote>")
 | 
			
		||||
 | 
			
		||||
	// escaped by mdformat
 | 
			
		||||
	test(`> \[!NOTE\]`, renderAttention("note", "octicon-info")+"\n</blockquote>")
 | 
			
		||||
 | 
			
		||||
	// legacy GitHub style
 | 
			
		||||
	test(`> **warning**`, renderAttention("warning", "octicon-alert")+"\n</blockquote>")
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user