Hello list,

I want to show two code listings side by side to make a comparison. The 
left column would include a plain text model and the right one has the 
equivalent Python model. There is some discussion here 
https://github.com/sphinx-doc/sphinx/issues/4553 but it didn't help much. 


Currently I have the following.

.. literalinclude:: model.txt

.. literalinclude:: mode.py 

I tried the following,


.. container:: twocol  
   .. container:: leftside                                                 
     
       Plain text                                                           
 
        .. literalinclude:: model.txt
   .. container:: rightside                                                 
    
       Python model                                                         
 
        .. literalinclude:: model.py
           :language: python


best,
    Dilawar 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/165aa57c-caa8-4967-a93d-8f682a14031eo%40googlegroups.com.

Reply via email to