On Thursday, March 26, 2020 at 12:31:52 PM UTC-4, Edward K. Ream wrote: > > On Tuesday, March 24, 2020 at 6:20:15 PM UTC-5, Thomas Passin wrote: > > You can also embed an interactive Bokeh plot in a Markdown document using >> an iframe. The second attached screen capture file shows an example. >> > > A nit: You can replace `></iframe>` with just `/>`. Like this: > > <iframe title="Bokeh Rendering" width="700" height="600" > src="lines.html" frameborder="0" allowfullscreen /> >
As an old XML hand (going back to 1998), I do know that. But I am under the impression that there are some non-XHTML situations where the processor still wants to use the long form. I think that the script element used to be one of them (maybe the only one), and strictly speaking, the short form isn't legal HTML (though the processors out there are awfully tolerant). So I tend to use the long form just to be on the safe side, even though it bugs me to see the long form for an empty element. It's probably not needed these days. Hmm, I should look and see if Docutils and MD are putting out HTML or XHTML.,,,[checks] Docutils is putting out XHTML, MD isn't specifying. That would mean the it's effectively HTML, though I'm not sure if the browser is calling it HTML 5 or not. I suppose I should check and see if MD can be persuaded to be more definite about it. -- You received this message because you are subscribed to the Google Groups "leo-editor" 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/leo-editor/faffe09b-9016-4675-808a-99d60f82fb82%40googlegroups.com.
