Share an Org buffer as a web page. In addition, a URL will be created that you can share to view it.
Go to file
Andros Fenollosa 206801b564 Add more info
2023-06-13 10:24:53 +02:00
org-share-to-web.el Add more info 2023-06-13 10:24:53 +02:00
README.md Add more info 2023-06-13 10:24:53 +02:00

Install

Add in your init.el.

(use-package org-share-to-web
  :straight (:host github :repo "tanrax/org-share-to-web.el" :files ("org-share-to-web.el"))
  :ensure t)

Configure

Configure the domain to be used to access the file share and the directory where it will be hosted using Tramp.

(setq org-share-to-web-domain "")
(setq org-share-to-web-directory "")

Example.

(setq org-share-to-web-domain "https://mydomain.com/")
(setq org-share-to-web-directory "/ssh:debian@mydomain.com:~/www/")

Run

Open an Org file and run org-share-to-web-buffer.

It will copy the URL to your clipboard to open the document share.