[p2pu-dev] jsFiddle and Syntax Highlighting

Dan Diebolt dandiebolt at gmail.com
Fri Sep 16 11:16:21 UTC 2011

I am not sure how jsFiddles are getting embedded because they are not on the
embedly service list which I would think is definitive:


But nevertheless these two versions of a fiddle will embed:



while the specific tabbed version is mangled when embedded:


In any case it would be nice to get the the bottom of this and learn how to
control the height of the jsFiddle embed as it always gets inserted into a
iframe with height-300px which is going to be too short in a lot of cases.

Also it would be nice to get line numbers on the prettify syntax
highlighting on every line not just every fifth line. There is a one line
fix for this in the


Fix: Just remove this css definition:

li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p2pu.org/pipermail/p2pu-dev/attachments/20110916/27818fea/attachment.html>

More information about the p2pu-dev mailing list