[Plugin: Embed GitHub Gist] bad (spaced out) formatting?
-
Hey.. thanks for the great plugin. I’ve been playing around with it today, but my gist’s are imported with formatting (and HTML markup) that just doesn’t seem quite right.
For example the following 6 line gist:
var template = [ 'ul.listClass#listId', [ 'li[text=Hello]', 'li[text=World]' ] ];
Is marked up like so:
<div class='line' id='LC1'><span class="kd">var</span> <span class="nx">template</span> <span class="o">=</span> <span class="p">[</span></div> <div class='line' id='LC2'> <span class="s1">'ul.listClass#listId'</span><span class="p">,</span> <span class="p">[</span></div> <div class='line' id='LC3'> <span class="s1">'li[text=Hello]'</span><span class="p">,</span></div> <div class='line' id='LC4'> <span class="s1">'li[text=World]'</span></div> <div class='line' id='LC5'> <span class="p">]</span></div> <div class='line' id='LC6'><span class="p">];</span></div>
just seems like a lot of element’s for not much code.. however, the real problem is that it’s rendered with double lines.. like so:
https://i.imgur.com/EpgfI.pngis it supposed to look like that?
Thanks,
https://www.ads-software.com/extend/plugins/embed-github-gist/
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘[Plugin: Embed GitHub Gist] bad (spaced out) formatting?’ is closed to new replies.