various polish
This commit is contained in:
		
							parent
							
								
									4c904d88ab
								
							
						
					
					
						commit
						e0ebee5aa9
					
				
					 30 changed files with 339 additions and 190 deletions
				
			
		| 
						 | 
				
			
			@ -5,7 +5,7 @@ import { toJsxRuntime } from "hast-util-to-jsx-runtime"
 | 
			
		|||
function Content({ tree }: QuartzComponentProps) {
 | 
			
		||||
  // @ts-ignore (preact makes it angry)
 | 
			
		||||
  const content = toJsxRuntime(tree, { Fragment, jsx, jsxs, elementAttributeNameCase: 'html' })
 | 
			
		||||
  return <article>{content}</article>
 | 
			
		||||
  return <article class="popover-hint">{content}</article>
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export default (() => Content) satisfies QuartzComponentConstructor
 | 
			
		||||
export default (() => Content) satisfies QuartzComponentConstructor
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue