chiark / gitweb /
m.code: take over the whole .. include:: directive.
authorVladimír Vondruš <mosra@centrum.cz>
Thu, 14 May 2020 09:02:25 +0000 (11:02 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Thu, 14 May 2020 12:14:44 +0000 (14:14 +0200)
commit31dd0b86fe93eddbfcfd58fe076aff8a815517a7
treea827790643bd2cbd68fd445fb7fd9111fd589628
parent1d34917d2528a91f561c9b16cb59b971e4918b14
m.code: take over the whole .. include:: directive.

Until now it was overriding it only if the :code: option was present,
but I need to extend it also for direct include, so copying over the
whole implementation from docutils. And removing the :encoding:,
:literal: and :name: options as I don't see any use for them nowadays.
doc/plugins/math-and-code.rst
plugins/m/code.py