|
From: | Timothy |
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 21:32:03 +0800 |
User-agent: | mu4e 1.8.11; emacs 28.2.50 |
Hi Ihor, > 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? My 2c: a nil lang seems like the “less wrong” option. All the best, Timothy -- Timothy (‘tecosaur’/‘TEC’), 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/tec>.
[Prev in Thread] | Current Thread | [Next in Thread] |