Close #1851: Allow to omit an argument for code-block directive

This commit is contained in:
Takeshi KOMIYA
2019-02-04 01:50:16 +09:00
parent 6fd191d52e
commit 6ca669295c
6 changed files with 62 additions and 10 deletions

View File

@@ -0,0 +1,20 @@
highlight
---------
.. code-block::
"A code-block without no language"
.. code-block:: python2
"A code-block with language argument"
.. highlight:: python3
.. code-block::
"A code-block without no language after highlight directive"
.. code-block:: python2
"A code-block without language argument after highlight directive"