1

I have an .org file in which I want to insert the source code that generated the web page when is exported to HTML, this is, the .org file itself, but when I do it's changed to the .html file. How can I achieve this?

This is the code of the link:

[[./documentation.org][Download .org source file]]

1 Answer 1

1

I found the solution in the org-mode manual: Links in HTML export, I only had to add to my init.el file the following sentence

(setq org-html-link-org-files-as-html nil)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.