Pages
  • one.el
  • Install one.el
  • Getting started
  • How does one.el work?
  • one-default render function
  • Miscellaneous
  • one-ox
  • one-ox | headline
  • one-ox | src-block
  • one-ox | quote-block
  • one-ox | fixed-width and example-block
  • one-ox | links
  • one-ox | plain-list and item
one.el
  • one.el
  • Install one.el
  • Getting started
  • How does one.el work?
  • one-default render function
  • Miscellaneous
  • one-ox
  • one-ox | headline
  • one-ox | src-block
  • one-ox | quote-block
  • one-ox | fixed-width and example-block
  • one-ox | links
  • one-ox | plain-list and item

Install one.el

Table of content
  • Manually
  • With package-install
  • With straight.el
  • Let's go

Manually

one.el depends on jack and htmlize packages that are available on Melpa. Once you have them installed you can add one.el to your load-path and require it like this:

(add-to-list 'load-path "/path/to/one.el/")
(require 'one)

With package-install

one.el is also available on Melpa so you can install it like this:

M-x package-install <RET> one <RET>

With straight.el

If you're using straight.el, to install one.el you just have to add this sexp to your init file:

(straight-use-package
 '(one :type git :host github :repo "tonyaldon/one.el"
       :build (:not compile)))

Note that :build (:not compile) is important. It tells straight.el not to byte compile one.el. Something happened in straight.el between commits 3eca39d and b3760f5 which broke byte compilation of one.el if done by straight.el.

Let's go

Now you can create a new website by calling one-default-new-project (preferably in an empty directory) and you can build it by calling one-build command.

If this is the first time you try one.el reading Getting started page might be helpful.

PREVRANDOMNEXT