support for publishing
This commit is contained in:
		
							parent
							
								
									f2f6d73e94
								
							
						
					
					
						commit
						156a19c731
					
				
							
								
								
									
										12
									
								
								ox-gemini.el
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								ox-gemini.el
									
									
									
									
									
								
							@ -184,4 +184,16 @@ holding export options."
 | 
			
		||||
      async subtreep visible-only body-only ext-plist)))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
(defun org-gemini-publish-to-gemini (plist filename pub-dir)
 | 
			
		||||
  "Publish an org file to a gemini file
 | 
			
		||||
 | 
			
		||||
FILENAME is the filename of the Org file to be published.  PLIST
 | 
			
		||||
is the property list for the given project.  PUB-DIR is the
 | 
			
		||||
publishing directory.
 | 
			
		||||
 | 
			
		||||
Return output file name."
 | 
			
		||||
  (org-publish-org-to
 | 
			
		||||
   'gemini filename ".gmi" plist pub-dir))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
(provide 'ox-gemini)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user