Skip to main content
Note: I corrected a mock elisp function to help with the result.
Source Link

I have the following org-checkbox.

Project 1
    [x] module 1
    [x] module 2
    [] module 3
    [x] module 4

How do i extract the checked values of Project 1 and pass the result to the code below?

#+BEGIN_SRC elisp
    (json_print(modulejson-pretty-print module-list)
#+END_SRC

I have the following org-checkbox.

Project 1
    [x] module 1
    [x] module 2
    [] module 3
    [x] module 4

How do i extract the checked values of Project 1 and pass the result to the code below?

#+BEGIN_SRC elisp
    (json_print(module list)
#+END_SRC

I have the following org-checkbox.

Project 1
    [x] module 1
    [x] module 2
    [] module 3
    [x] module 4

How do i extract the checked values of Project 1 and pass the result to the code below?

#+BEGIN_SRC elisp
    (json-pretty-print module-list)
#+END_SRC
edited tags
Link
Drew
  • 79.1k
  • 10
  • 123
  • 257
Source Link

Org-mode checkbox, How do i extract the checked values?

I have the following org-checkbox.

Project 1
    [x] module 1
    [x] module 2
    [] module 3
    [x] module 4

How do i extract the checked values of Project 1 and pass the result to the code below?

#+BEGIN_SRC elisp
    (json_print(module list)
#+END_SRC