<br><br><div class="gmail_quote">On Sun, Mar 24, 2013 at 11:45 AM, Greg Wilson <span dir="ltr"><<a href="mailto:gvwilson@third-bit.com" target="_blank">gvwilson@third-bit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="im">
    <div>On 2013-03-24 2:14 PM, MinRK wrote:<br>
    </div>
    </div><blockquote type="cite"> > MRK:<br>
      <div class="gmail_quote">
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
          <div> > We are extremely reticent to extend the markdown
            syntax, because<br>
             > maintaining such a thing is well outside our core
            competency.<br>
          </div>
          <br></div><div class="im">
          GVW:<br>
          Understood.  Am I right that if you could take Markdown
          rendering out<br>
          of the core entirely and use someone else's library, you
          would?<br>
        </div></blockquote><div class="im">
        <div><br>
        </div>
        <div>We already do - we use pagedown, stackexchange's markdown
          implementation.  It has a few small patches for the notebook.</div>
      </div></div>
    </blockquote>
    GVW:<br>
    Sorry, I meant, "If you could use someone else's GitHub-compatible
    Markdown renderer" --- or are there reasons to stick to
    StackExchange's dialect?</div></blockquote><div><br></div><div>Ah - yes.  A javascript implementation of GHM would be great.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div bgcolor="#FFFFFF" text="#000000"><div class="im"><br>
    <blockquote type="cite">
      <div class="gmail_quote">GVW:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          Indenting four spaces in a Markdown cell mostly works --- the
          code is<br>
          colorized, but the background color is white instead of gray.
           On the<br>
          other hand, since this code *isn't* actually being executed,
          that may<br>
          be a good thing.  It'll do for now...<br>
        </blockquote>
        <div><br>
        </div>
        <div>This is a style question - we can tweak the style of the
          highlighted code inside the cell, but it is important that it
          appear distinct from a real code cell.</div>
      </div>
    </blockquote></div>
    GVW:<br>
    Agreed.<br>
    <blockquote type="cite">
      <div class="gmail_quote">
        <div> GVW:<br>
        </div><div class="im">
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <br>
          2: Marking cells with particular classes, which will then
          allow:<br>
          <br>
              2.1: Selectively showing/hiding different kinds of
          material in a<br>
                   single notebook.<br>
          <br>
              2.2: Styling (both during display, and when exporting to
          other<br>
                   formats like LaTeX).<br>
        </blockquote>
        <div><br>
        </div>
        </div><div class="im"><div>Current plan is to release 1.0 in July.</div>
        <div><br>
        </div>
        <div>With one clarification on #2:  There is not a hook for you
          to add css classes to the cells live in the notebook, but this
          can certainly be added.  The cell metadata is how you would do
          this, but interpreting the metadata to add the class to the
          div will need to be added.</div>
      </div></div>
    </blockquote>
    Understood --- but that seems like it _ought_ to be a pretty simple
    extension (he said hopefully).<br></div></blockquote><div><br></div><div>It certainly should be - one thing we would need to do to support such an extension is add a hook for the 'cell-metadata-changed' event.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
    Thanks,<br>
    Greg<br>
    <br>
  </div>

<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br>