Function: kexport:display

kexport:display is an autoloaded, interactive and byte-compiled function defined in kexport.el.

Signature

(kexport:display &optional SOFT-NEWLINES-FLAG)

Documentation

Export the current buffer's koutline and display it in a web browser.

The buffer is exported to the same named file with a ".html" suffix. Return the pathname of the html file created.

By default, this retains newlines within cells as they are. With optional prefix arg, SOFT-NEWLINES-FLAG, hard newlines are not used. Also converts Urls and Klinks into Html hyperlinks.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kexport.el
;;;###autoload
(defun kexport:display (&optional soft-newlines-flag)
  "Export the current buffer's koutline and display it in a web browser.
The buffer is exported to the same named file with a \".html\" suffix.
Return the pathname of the html file created.

By default, this retains newlines within cells as they are.  With
optional prefix arg, SOFT-NEWLINES-FLAG, hard newlines are not
used.  Also converts Urls and Klinks into Html hyperlinks."
  (interactive "P")
  (let ((html-file (kexport:koutline soft-newlines-flag)))
    (hact 'www-url (concat "file://" html-file))
    html-file))