|
From: | Kaushal Modi |
Subject: | Re: [Syntax discussion] Should we treat src blocks without LANG as paragraphs? (was: [BUG] ox-html does not export captions of source blocks without language) |
Date: | Thu, 15 Dec 2022 05:32:30 -0500 |
Johan Bolmsjö <org-mode@johan.bitmaster.se> writes:
> #+caption: Caption 1
> #+begin_src
> foo bar baz
> #+end_src
There is an inconsistency here between Org parser and
https://orgmode.org/worg/org-syntax.html + manual.
The actual parser does allow empty lang in src blocks, setting :lang
element property to nil.
Should we stop doing this and treat such src
blocks as paragraphs?
Or should we allow empty lang and instead adapt
the exporters to treat empty lang correctly?
[Prev in Thread] | Current Thread | [Next in Thread] |