Multidingus
David Chambers
david.chambers.05 at gmail.com
Fri Oct 19 18:16:31 EDT 2012
This is a terrific tool, John. I now realize how much disagreement there is between the different Markdown libs on certain topics (such as consecutive lists).
David
On Friday, 19 October 2012 at 2:51 PM, John MacFarlane wrote:
> +++ Alan Hogan [Oct 19 12 14:07 ]:
> > Here’s a tiny bookmarklet that can be run on Babelmark 2 as it stands
> > today, that replaces all the <pre> elements on the page with an HTML
> > preview:
> >
> > javascript:$('pre').each(function(i, el){ var html = $(el).text();
> > $(el).replaceWith($('<div style="border: 1px solid #aaa; border-radius:
> > 4px" />').html(html)); });
> >
> > Or, you may drag it into your bookmarks page from here:
> >
> > <[1]http://peg.gd/2IU>
> >
> > It’s not Good Code and doesn’t do anything useful like add tabs to
> > switch between representations, but hey, I spent five minutes on this
> > and it’s kind of useful, so I’m sharing it.
> >
>
>
> Alan,
>
> This is useful. I've incorporated it into the site itself, so you
> can now toggle between "Preview" and "Code" modes. When I have a bit
> of time I'll make it use tabs for this instead -- that would be nicer.
>
> John
>
>
> _______________________________________________
> Markdown-Discuss mailing list
> Markdown-Discuss at six.pairlist.net (mailto:Markdown-Discuss at six.pairlist.net)
> http://six.pairlist.net/mailman/listinfo/markdown-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20121019/44ac98f7/attachment.html>
More information about the Markdown-Discuss
mailing list