Last active
August 20, 2020 06:30
-
-
Save ROCKTAKEY/e67ec5f1db4fbc9f1976fb7a3b27e2ef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun my-org-netlify (str) | |
(concat | |
(save-restriction | |
(widen) | |
(save-excursion | |
(while (ignore-errors (org-up-element) t)) | |
(let* ((entry (org-element-at-point))) | |
(org-element-property :EXPORT_FILE_NAME entry)))) | |
"/" str)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment