Merge pull request #6015 from tk0miya/1851_omit_argument_for_code-block

Close #1851: Allow to omit an argument for code-block directive
This commit is contained in:
Takeshi KOMIYA
2019-02-06 00:24:17 +09:00
committed by GitHub
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"