mirror of
				https://github.com/kuohuanhuan/x-markdown-css.git
				synced 2024-11-25 06:18:19 +00:00 
			
		
		
		
	fix(markdown): remove invalid .highlight class
				
					
				
			This commit is contained in:
		| @ -1,13 +1,12 @@ | ||||
| .markdown-body { | ||||
|   color: var(--xm-c-regular); | ||||
|   font-family: var(--xm-font-display) !important; | ||||
|   pre:not(.shiki, .highlight) { | ||||
|   pre:not(.shiki) { | ||||
|     margin: 0; | ||||
|     padding: 0; | ||||
|     background: transparent; | ||||
|   } | ||||
|   .shiki, | ||||
|   .highlight { | ||||
|   .shiki { | ||||
|     margin: .5rem 0; | ||||
|     font-size: 1.05rem; | ||||
|     font-family: var(--xm-font-code) !important; | ||||
|  | ||||
| @ -13,6 +13,6 @@ $quote-border: hsla(0deg 0% 50% / .3); | ||||
| $thead-border: #d1d5db; | ||||
| $tr-border: #e5e7eb; | ||||
|  | ||||
| // Shiki (code highlight) | ||||
| // Shiki (code highlighting) | ||||
| $shiki-light: #f8f8f8; | ||||
| $shiki-dark: #0e0e0e; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user