Hello,
Yes, that clarifies things quite a bit. I thought that the contents of the list
item only included that specific item, when in reality it includes the item and
all sub-lists.
Thanks,
Rohit
"Rohit Patnaik" writes:
> #+BEGIN_SRC elisp
> (concat bullet
> ...
> (and contents
>(org-trim (replace-regexp-in-string "^" "" contents
> #+END_SRC
>
> and I'm wondering why it's adding indentation in front of the bullet.
> Naively, I
> would expect the result of this
Hello,
I was looking at the implementation for =org-md-item=, in ox-md.el, and I'm
wondering how indentation logic for nested lists works. Specifically, I was
looking at the following code:
#+BEGIN_SRC elisp
(concat bullet
(make-string (- 4 (length bullet)) ? )
(pcase