markdown faces
This commit is contained in:
		
							parent
							
								
									48c3b5cc8b
								
							
						
					
					
						commit
						97f28995e1
					
				
					 2 changed files with 18 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -4023,6 +4023,15 @@ It's probably smart to have markdown.
 | 
			
		|||
  :mode (("\\.md\\'" . markdown-mode)
 | 
			
		||||
         ("\\.rmd\\'". markdown-mode))
 | 
			
		||||
  :config
 | 
			
		||||
 | 
			
		||||
  (dolist (face
 | 
			
		||||
           '((markdown-header-face-1 1.4 ultra-bold)
 | 
			
		||||
             (markdown-header-face-2 1.2 extra-bold)
 | 
			
		||||
             (markdown-header-face-3 1.1 bold)
 | 
			
		||||
             (markdown-header-face-4 1.0 semi-bold)
 | 
			
		||||
             (markdown-header-face-5 1.0 normal)))
 | 
			
		||||
    (set-face-attribute (nth 0 face) nil :weight (nth 2 face) :height (nth 1 face)))
 | 
			
		||||
 | 
			
		||||
  (setq markdown-fontify-code-blocks-natively t)
 | 
			
		||||
  (add-hook 'markdown-mode-hook 'chris/org-mode-setup)
 | 
			
		||||
  (custom-set-faces '(markdown-code-face ((t (:inherit org-block)))))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										9
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										9
									
								
								init.el
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -2924,6 +2924,15 @@ targets."
 | 
			
		|||
  :mode (("\\.md\\'" . markdown-mode)
 | 
			
		||||
         ("\\.rmd\\'". markdown-mode))
 | 
			
		||||
  :config
 | 
			
		||||
 | 
			
		||||
  (dolist (face
 | 
			
		||||
           '((markdown-header-face-1 1.4 ultra-bold)
 | 
			
		||||
             (markdown-header-face-2 1.2 extra-bold)
 | 
			
		||||
             (markdown-header-face-3 1.1 bold)
 | 
			
		||||
             (markdown-header-face-4 1.0 semi-bold)
 | 
			
		||||
             (markdown-header-face-5 1.0 normal)))
 | 
			
		||||
    (set-face-attribute (nth 0 face) nil :weight (nth 2 face) :height (nth 1 face)))
 | 
			
		||||
 | 
			
		||||
  (setq markdown-fontify-code-blocks-natively t)
 | 
			
		||||
  (add-hook 'markdown-mode-hook 'chris/org-mode-setup)
 | 
			
		||||
  (custom-set-faces '(markdown-code-face ((t (:inherit org-block)))))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue