<div dir="ltr"><div><div>I use .. code-block:: when I need to specify :linenos:, otherwise I save myself a few characters and write .. code::<br><br></div>That said, I see no reason why we couldn't standardize on .. code-block::. It allows us to specify the language of the block, turn on line numbers, emphasize selected lines of code, and do some of the nifty things.<br><br></div>-Brian<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 28 July 2015 at 07:46, Meg McRoberts <span dir="ltr"><<a href="mailto:dreidellhasa@yahoo.com" target="_blank">dreidellhasa@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div>Good questions...</div><div><br></div><div dir="ltr">I admit that I tend to use the plain :: by default.  If that doesn't format correctly,</div><div dir="ltr">then I usually flip to code-block.</div><div dir="ltr"><br></div><div dir="ltr">I have some notes about information to add to <a href="https://wiki.openstack.org/wiki/Documentation/Markup_conventions#Code_or_data_.28block_and_inline.29" target="_blank">https://wiki.openstack.org/wiki/Documentation/Markup_conventions#Code_or_data_.28block_and_inline.29</a></div><div dir="ltr">so, once we agree about this, I'll write it up.</div><div><span></span></div><br> <blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px">  <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold">From:</span></b> Christian Berendt <<a href="mailto:christian@berendt.io" target="_blank">christian@berendt.io</a>><br> <b><span style="font-weight:bold">To:</span></b> "<a href="mailto:openstack-docs@lists.openstack.org" target="_blank">openstack-docs@lists.openstack.org</a>" <<a href="mailto:Openstack-docs@lists.openstack.org" target="_blank">Openstack-docs@lists.openstack.org</a>> <br> <b><span style="font-weight:bold">Sent:</span></b> Monday, July 27, 2015 2:28 PM<br> <b><span style="font-weight:bold">Subject:</span></b> [OpenStack-docs] [RST] difference between the code and the   code-block directive<br> </font> </div> <div><span class=""><br>Sometimes we use .. code:: and sometimes we use .. code-block::.<br><br>What is the difference? Does it makes sense to only use .. code-block:: <br>and to remove the usage of .. code::?<br><br>Christian.<br><br>-- <br>Christian Berendt<br>Cloud Solution Architect<br>Mail: <a href="mailto:berendt@b1-systems.de" target="_blank">berendt@b1-systems.de</a><br><br>B1 Systems GmbH<br></span>Osterfeldstraße 7 / 85088 Vohburg / <a href="http://www.b1-systems.de/" target="_blank">http://www.b1-systems.de</a><span class=""><br>GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537<br><br>_______________________________________________<br>OpenStack-docs mailing list<br><a href="mailto:OpenStack-docs@lists.openstack.org" target="_blank">OpenStack-docs@lists.openstack.org</a><br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs</a><br><br><br></span></div> </div> </div> </blockquote>  </div></div><br>_______________________________________________<br>
OpenStack-docs mailing list<br>
<a href="mailto:OpenStack-docs@lists.openstack.org">OpenStack-docs@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs</a><br>
<br></blockquote></div><br></div>