emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DOC] Mismatch on doc regarding position of src block switches


From: Ihor Radchenko
Subject: Re: [DOC] Mismatch on doc regarding position of src block switches
Date: Mon, 22 Apr 2024 18:12:40 +0000

João Pedro <jpedrodeamorim@gmail.com> writes:

> I've noticed that in (org)Literal Examples[0], when documenting the switches 
> for example and source blocks, it is mentioned that they should be placed at 
> the *end* of the #+BEGIN line, while both in (org)Structure of Code Blocks[1] 
> and the Org Syntax document[2] the switches are documented to be placed right 
> after the language (when appropriate), which is the correct placement for it.

Thanks for reporting!
Fixed, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a9275d5fd

> I've also noticed that the Org Syntax for blocks (greater or lesser) don't 
> mention example blocks having optional switches.

We deliberately limit the number of details in the syntax spec.
For now, we just say that lesser blocks can have arbitrary DATA at the
begin line.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]