• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

language-org-checkboxes

Adds coloring for bullet-journal-style checkbox items to org-mode files
  • #todo
  • #org-mode
  • #bullet journal
  • #bullet
  • #rapid logging
publicus
0.10.0 650
1
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Atom language-org-checkboxes

Description

This grammar for the Atom text editor adds coloring for unordered list checkboxes in org-mode text. This facilitates creating simple Bullet Journal files using []org-mode syntax](http://ergoemacs.org/emacs/emacs_org_markup.html).

The package is written by Jacob Levernier, and is based on Dmitriy Kiyatkin's language-todo-extra-words.

It highlights the following:

  • - [], - [ ]: Todo
  • - [X], - [x]: Done
  • - [V]: Done, but on a different day (Date or reference goes in parentheses at the end of the line)
  • - [>]: Next / Scheduled
  • - [<]: Migrated
  • - [/]: Right now / In progress
  • - [O], - [o]: Waiting on someone else

Screenshot of org-syntax coloring

The package also renders highlighting for org-mode syntax.

Use

In Atom, set the language for the document as Org + Checkboxes.

I recommend this style for bullet-journal entries:

* 1970-01-01 Thursday
 
  - [ ] Item 1
    - [ ] Sub-item 1
  - [ ] Item 2
 
  - O Event 1
  - O Event 2
 
  - Note 1
    - Sub-note 1
      #+BEGIN_QUOTE
        Some block-quote contents.
      #+END_QUOTE

By indenting, you can use Atom's Editor: Fold Current Row / Editor: Unfold Current Row commands (from the Ctrl + P / Cmd + P menu) to collapse sections of your journal for easier reading.

This approach also works well with the orgfld package for Atom, which enables folding for org-mode syntax headers. Further, it works well with Orgzly for Android, which can sync org-mode files using a service such as Dropbox or SyncThing, and allows checking boxes with a tap.

Using the contents of the extras directory contained in this repository, one can also convert org-mode files created using the above approach into HTML files ready to print. After installing Pandoc, one can run the following from the command line, from the directory of this repository:

pandoc \
--self-contained \
--css extras/org-print-stylesheet.css \
--include-in-header extras/org-print-coloring.html \
extras/example.org \
-o extras/example_output.html

You can view the output of this in extras/example_output.html.

Local development and installation

To install this locally, run apm link in the command line from this project's directory. If you then run atom -d (for development mode), after each apm link, you can use Ctrl + Shift + P and then select Dev Live Reload: Reload All to see your changes reflected.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by