mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	fix(commands/doc): only highlight real headings
This commit is contained in:
		
							parent
							
								
									d48a66e393
								
							
						
					
					
						commit
						7bfd7b12c4
					
				| @ -93,7 +93,7 @@ Available sections: ]] .. table.concat(modules, ', ') | ||||
| 		else | ||||
| 			return '{underline}{green}' | ||||
| 		end | ||||
| 	end):gsub('#+.-\n', function(t) | ||||
| 	end):gsub('\n#+.-\n', function(t) | ||||
| 		local signature = t:gsub('<.->(.-)</.->', '{underline}%1'):gsub('\\', '<') | ||||
| 		return '{bold}{yellow}' .. signature .. '{reset}' | ||||
| 	end))) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user