fix: don't show popovers on heading anchors
This commit is contained in:
		
							parent
							
								
									0d8c025d6a
								
							
						
					
					
						commit
						9c88d5967f
					
				
					 2 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -31,6 +31,11 @@ export const GitHubFlavoredMarkdown: QuartzTransformerPlugin<Partial<Options> |
 | 
			
		|||
            rehypeAutolinkHeadings,
 | 
			
		||||
            {
 | 
			
		||||
              behavior: "append",
 | 
			
		||||
              properties: {
 | 
			
		||||
                ariaHidden: true,
 | 
			
		||||
                tabIndex: -1,
 | 
			
		||||
                "data-no-popover": true,
 | 
			
		||||
              },
 | 
			
		||||
              content: {
 | 
			
		||||
                type: "text",
 | 
			
		||||
                value: " §",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue