forked from mirrors/org-mode
org-export: Add filters for new element type
* contrib/lisp/org-export.el (org-export-filter-node-property-functions): New variable. (org-export-filters-alist): Use new variable.
This commit is contained in:
parent
66fe322120
commit
ddfaa6fe7a
|
@ -215,6 +215,7 @@ way they are handled must be hard-coded into
|
||||||
(:filter-line-break . org-export-filter-line-break-functions)
|
(:filter-line-break . org-export-filter-line-break-functions)
|
||||||
(:filter-link . org-export-filter-link-functions)
|
(:filter-link . org-export-filter-link-functions)
|
||||||
(:filter-macro . org-export-filter-macro-functions)
|
(:filter-macro . org-export-filter-macro-functions)
|
||||||
|
(:filter-node-property . org-export-filter-node-property-functions)
|
||||||
(:filter-paragraph . org-export-filter-paragraph-functions)
|
(:filter-paragraph . org-export-filter-paragraph-functions)
|
||||||
(:filter-parse-tree . org-export-filter-parse-tree-functions)
|
(:filter-parse-tree . org-export-filter-parse-tree-functions)
|
||||||
(:filter-plain-list . org-export-filter-plain-list-functions)
|
(:filter-plain-list . org-export-filter-plain-list-functions)
|
||||||
|
@ -2207,6 +2208,12 @@ Each filter is called with three arguments: the transcoded data,
|
||||||
as a string, the back-end, as a symbol, and the communication
|
as a string, the back-end, as a symbol, and the communication
|
||||||
channel, as a plist. It must return a string or nil.")
|
channel, as a plist. It must return a string or nil.")
|
||||||
|
|
||||||
|
(defvar org-export-filter-node-property-functions nil
|
||||||
|
"List of functions applied to a transcoded node-property.
|
||||||
|
Each filter is called with three arguments: the transcoded data,
|
||||||
|
as a string, the back-end, as a symbol, and the communication
|
||||||
|
channel, as a plist. It must return a string or nil.")
|
||||||
|
|
||||||
(defvar org-export-filter-paragraph-functions nil
|
(defvar org-export-filter-paragraph-functions nil
|
||||||
"List of functions applied to a transcoded paragraph.
|
"List of functions applied to a transcoded paragraph.
|
||||||
Each filter is called with three arguments: the transcoded data,
|
Each filter is called with three arguments: the transcoded data,
|
||||||
|
|
Loading…
Reference in New Issue