On 2012-10-28, Boris Kheyfets wrote:

> [-- Type: text/plain, Encoding: quoted-printable --]

> How do I use custom bullet char?

> Is there a way I can give a bullet list a class -- so to assign "–" char as 
> a bullet char for a given list (and have the default bullets in other 
> lists)?

> I need it to cite dialogs:

> -- The next time I tell You that I saw something -- You believe me!
> -- Oh, relax -- now that we saw Dracula, the Wolfman and a Monster -- 
> there's nobody to fright us anymore. *(and the Invisible man in the rostrum

You can use the reSt `class`_ directive. In Sphinx, "class" may be
overwritten by another directive (for documenting classes in OO programms)
and you must use the (somewhat misleading) "cssclass" alias.

.. _class: http://docutils.sourceforge.net/docs/ref/rst/directives.html#class

example::

  .. class:: dialogue

  - Good morning.
  - Hm.

Günter  



-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to