css - Create columned text reStructuredText -
i'm trying format restructuredtext section so:
type1 : type4 : type7 : type2 : type5 : type8 : type3 : type6 : type9 :
such can fill page horizontally text, know how can accomplish this? guess have css , container?
this best alternative have, in place of playing css , container...
i don't think there way natively you're trying in restructured text. but, if use sphinx, there directive called hlist
(horizontal list): http://sphinx-doc.org/markup/para.html
you write this:
.. hlist:: :columns: 3 * list of * short items * should * displayed * horizontally
and gets converted to:
hope helps!
Comments
Post a Comment