mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	website(docs): setup custom syntax highlighting, add line numbers
This commit is contained in:
		
							parent
							
								
									e81384e42c
								
							
						
					
					
						commit
						f516e1bb87
					
				| @ -30,7 +30,10 @@ enableGitInfo = true | ||||
| unsafe = true | ||||
| 
 | ||||
| [markup.highlight] | ||||
| style = 'pastie' | ||||
| lineNos = true | ||||
| lineNumbersInTable = false | ||||
| noClasses = false | ||||
| codeFences = true | ||||
| 
 | ||||
| [author] | ||||
| 	[author.sammyette] | ||||
|  | ||||
| @ -1,11 +1,15 @@ | ||||
| /* Background */ .bg { background-color: #edfdff; } | ||||
| /* PreWrapper */ .chroma { background-color: #edfdff; } | ||||
| .chroma { | ||||
| 	display: inline-block; | ||||
| 	padding: 0.5em; | ||||
| } | ||||
| /* Background */ .bg { background-color: #F7F7F7; } | ||||
| /* PreWrapper */ .chroma { background-color: #F7F7F7; } | ||||
| /* Other */ .chroma .x {  } | ||||
| /* Error */ .chroma .err { color: #a61717; background-color: #e3d2d2 } | ||||
| /* CodeLine */ .chroma .cl {  } | ||||
| /* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } | ||||
| /* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; } | ||||
| /* LineHighlight */ .chroma .hl { background-color: #edfdff } | ||||
| /* LineHighlight */ .chroma .hl { background-color: #F7F7F7 } | ||||
| /* LineNumbersTable */ .chroma .lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } | ||||
| /* LineNumbers */ .chroma .ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } | ||||
| /* Line */ .chroma .line { display: flex; } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user