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:

enter image description here

hope helps!


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -