Hi,

is there a way to configure Sphinx in order the default code blocks (I
mean the ones for the default language specified thanks to
`highlight_language`) should have:

- a (fixed) caption ⟨caption⟩,
- and/or lines numbers enabled?

Indeed, it's boring to have to specifiy each time:

  ┌────
  │ .. code-block:: 
  │    :caption: ⟨caption⟩
  └────

or:

  ┌────
  │ .. code-block:: 
  │    :linenos:
  └────

Thanks.
-- 
Denis

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/87wmvar5pt.fsf%40example.com.

Reply via email to