[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] Dynamic blocks not recognized by org-element
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] Dynamic blocks not recognized by org-element |
Date: |
Tue, 26 Apr 2022 15:14:15 +0800 |
Nick Dokos <ndokos@gmail.com> writes:
> --8<---------------cut here---------------start------------->8---
> * Clocktable
>
> #+BEGIN: clocktable :maxlevel 3 :emphasize nil :scope file
> #+END: clocktable
> --8<---------------cut here---------------end--------------->8---
>
> I position the cursor on the #+BEGIN line and evaluate
> `(org-element-at-point)'. I expected to get a dynamic-block, but I get a
> paragraph:
It is to be expected.
Dynamic block syntax is the following (see manual):
#+BEGIN: dynamic_block_name [args]
...
#+END:
You should not put dynamic block name after #+END:
Best,
Ihor