changeset 698: | 96958d3eb5b0 |
parent: | a5ae5a58c4cd |
author: | Richard Westhaver <ellis@rwest.io> |
date: | Fri, 04 Oct 2024 22:04:59 -0400 |
permissions: | -rw-r--r-- |
description: | fixes |
133
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
1 | ;;; lib/organ/element/greater/inlinetask.lisp --- Org Inline Task Element |
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
2 | |
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
3 | ;; Inlinetasks are kinda weird - they're syntactically a heading with |
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
4 | ;; a level of at least *ORG-INLINETASK-MIN-LEVEL*. Usually this means |
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
5 | ;; a lot of stars. |
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
6 | |
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
7 | ;; You can nest elements inside an inlinetask by adding a second |
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
8 | ;; heading at the same level with a title of 'END' and no other |
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
9 | ;; syntax. Otherwise the inlinetask is a unit and won't consume the |
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
10 | ;; contents on the following lines. |
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
11 | |
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
12 | ;;; Code: |
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
13 | (in-package :organ) |
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
14 | |
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
15 | ;; TODO |
a5ae5a58c4cd
org element comments and type definitions
ellis <ellis@rwest.io>
parents:
128
diff
changeset
|
16 | (define-org-element inlinetask (headline contents) :greater t) |