Selaa lähdekoodia

org-export: Add a filter for new section element

* contrib/lisp/org-export.el (org-export-filter-section-functions):
  New variable.
Nicolas Goaziou 13 vuotta sitten
vanhempi
commit
25ab746fc9
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      contrib/lisp/org-export.el

+ 6 - 0
contrib/lisp/org-export.el

@@ -1767,6 +1767,12 @@ Each filter is called with two arguments: the transcoded
 quote-section, as a string, and the back-end, as a symbol.  It
 must return a string or nil.")
 
+(defvar org-export-filter-section-functions nil
+  "Filter, or list of filters, applied to a transcoded section.
+Each filter is called with two arguments: the transcoded section,
+as a string, and the back-end, as a symbol.  It must return
+a string or nil.")
+
 (defvar org-export-filter-special-block-functions nil
   "Filter, or list of filters, applied to a transcoded special block.
 Each filter is called with two arguments: the transcoded special