[docutils:feature-requests] #62 code-block should support :caption:

Günter Milde via Docutils-develop <[email protected]> Sat, 19 Oct 2024 10:18:29 -0000
Newsgroups gmane.text.docutils.devel
Message-ID </p/docutils/feature-requests/62/6de7314226e9acfff7577dce7ea974b468e19b33.feature-requests@docutils.p.sourceforge.net>
- Description has changed:

Diff:

~~~~

--- old
+++ new
@@ -2,13 +2,10 @@
 
 This to work
 
-```
-.. code-block:: 
-          :caption: Hello
+    .. code-block:: 
+        :caption: Hello
           
           print("ciao")
-          
- ```
  
  ## Instead
  

~~~~




---

**[feature-requests:#62] code-block should support :caption:**

**Status:** open
**Group:** Default
**Created:** Tue Apr 09, 2019 09:50 AM UTC by Roberto Polli
**Last Updated:** Fri Aug 20, 2021 11:10 AM UTC
**Owner:** nobody


## I expect

This to work

    .. code-block:: 
        :caption: Hello
          
          print("ciao")
 
 ## Instead
 
 D000 Error in "code-block" directive:
unknown option: "caption".




---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.