randomwangran / org-logseq

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Org-logseq

Org-logseq allows you to open logseq-style page and block link along with Org Mode.

Features

  • Open links in logseq-style way in your org document.
  • Open the block id which Org Mode does not support.
  • Create a blank excalidraw file and insert it at point.

Installation

Org-logseq requires grep. Install it using your system tool at first.

Org-logseq package is not on MELPA yet. Currently, the easiest way to install org-logseq is through quelpa or straight system, or use the :quelpa or :straight keyword by using use-package. In order to make :quelpa work well with use-package, you need to install quelpa-use-package.

  • quelpa
    (use-package org-logseq
      :quelpa (org-logseq :fetcher github :repo "llcc/org-logseq" :files ("*"))
      :custom (org-logseq-dir "~/logseq"))
        
  • straight
    (use-package org-logseq
        :straight (org-logseq :fetcher github :repo "llcc/org-logseq" :files ("*"))
        :custom (org-logseq-dir "~/logseq"))
        

Getting started

  1. Set the variable org-logseq-dir to your logseq path.
  2. M-x org-logseq-mode in your current buffer.
  3. C-c C-o to open pages or block references.

    Creating a directory-local varible in your logseq directory could be the best way to get it worked in all org files.

    ((org-mode . ((eval org-logseq-mode 1))))
        

Customization

org-logseq-create-page-p
A booleab value indicating whether or not org-logseq should try to new a page file at point if it does not exist. The varible defaults to nil.

Thanks

All to logseq.

About


Languages

Language:Emacs Lisp 100.0%