Skip to content

Commit

Permalink
Add Getting Started to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ljos committed Nov 4, 2019
1 parent 149abd3 commit 331899c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,25 @@

This project contains a set of functions that are need to evaluate
prolog in org-babel.

* Getting Started
[[https://melpa.org/#/sparql-mode][file:https://melpa.org/packages/ob-prolog-badge.svg]] [[https://stable.melpa.org/#/sparql-mode][file:https://stable.melpa.org/packages/ob-prolog-badge.svg]]
- Download ob-prolog and put it in a directory somewhere.
- Add the following to your .emacs file
- (or use melpa)

#+BEGIN_SRC emacs-lisp
(add-to-list 'load-path "/path/to/ob-prolog-dir")
#+END_SRC

You also need to add the next snippet or add =(prolog . t)= to
languages org-babel can load:

#+BEGIN_SRC emacs-lisp
(org-babel-do-load-languages
'org-babel-load-languages
'((prolog . t)))
#+END_SRC

You can then execute the query by pressing =C-c C-c= on the
source-block header.

0 comments on commit 331899c

Please sign in to comment.