emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [DOC] Mismatch on doc regarding position of src block switches
@ 2024-04-22  2:05 João Pedro
  2024-04-22 18:12 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: João Pedro @ 2024-04-22  2:05 UTC (permalink / raw)
  To: emacs-orgmode

Hi Org folks,

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.

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

[0] https://orgmode.org/manual/Literal-Examples.html
[1] https://orgmode.org/manual/Structure-of-Code-Blocks.html
[2] https://orgmode.org/worg/org-syntax.html#Blocks

Cheers,

-- 
João Pedro de A. Paula
IT bachelors at Universidade Federal do Rio Grande do Norte (UFRN)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-22 22:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-22  2:05 [DOC] Mismatch on doc regarding position of src block switches João Pedro
2024-04-22 18:12 ` Ihor Radchenko
2024-04-22 21:59   ` João Pedro

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).