anchors correspond to headline depth
This commit is contained in:
		
							parent
							
								
									ee005cb4e2
								
							
						
					
					
						commit
						fe8046cf58
					
				
					 1 changed files with 17 additions and 0 deletions
				
			
		| 
						 | 
					@ -58,6 +58,23 @@ li p {
 | 
				
			||||||
.anchor:after {
 | 
					.anchor:after {
 | 
				
			||||||
    content: "#";
 | 
					    content: "#";
 | 
				
			||||||
    margin-right: .15em;
 | 
					    margin-right: .15em;
 | 
				
			||||||
 | 
					    font-size: 80%;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					h2 .anchor:after {
 | 
				
			||||||
 | 
					    content: "##";
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					h3 .anchor:after {
 | 
				
			||||||
 | 
					    content: "###";
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					h4 .anchor:after {
 | 
				
			||||||
 | 
					    content: "####";
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					h5 .anchor:after {
 | 
				
			||||||
 | 
					    content: "#####";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.anchor:visited {
 | 
					.anchor:visited {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue