similar to: a JavaScript front-end for Babelmark

Displaying 20 results from an estimated 400 matches similar to: "a JavaScript front-end for Babelmark"

2008 Mar 22
7
Babelmark
I'm currently attempting to write a spec for parsing Markdown Extra, and since one goal is to minimize the differences in output between implementations, I've made a tool allowing me to compare who does what for any given input. I hope this can also facilitate future discussions about the syntax. So here's Babelmark, a testbed for various Markdown implementations were you
2007 Feb 28
7
Showdown -- A javascript port of Markdown
Hi, I've just posted the first public version of Showdown, a full javascript port of Markdown. It's 10KB and works in all major browsers. Try out the sample app: <http://www.attacklab.net/showdown-gui.html> Full source code is available: <http://www.attacklab.net/showdown-v0.9.zip> All the heavy lifting is done by the browser's regular expression engine, so
2011 Feb 09
3
code span doesn't preserve space
Consider this code span: `grep ' '`. All implementations listed on [babelmark](http://babelmark.bobtfish.net) just simply wrap it as: <code>grep ' '</code> Viewed in browsers, the above code is equivalent to: <code>grep ' '</code> I think spaces should be preserved in code span,which maintains consistence with code block. For
2013 Feb 04
2
Modifying a function programmatically
Dear list # I have a function ff <- function(a,b=2,c=4){a+b+c} # which I programmatically want to modify to a more specialized function in which a is replaced by 1 ff1 <- function(b=2,c=4){1+b+c} # I do as follows: vals <- list(a=1) (expr1 <- as.expression(body(ff))) expression({ a + b + c }) (expr2 <- do.call("substitute", list(expr1[[1]], vals))) { 1 +
2008 Jul 25
1
+ in email addresses - edge case with a lot of variation between implementations.
http://babelmark.bobtfish.net/?markdown=%3Ca%2Bb%40c.org%3E&normalize=on Only Python markdown, Pandoc, discount and PEG markdown seem to get this 'right'. As a + is perfectly valid in email addresses, I'm going to fix this in my modules. This was reported to me via the cpan.org RT (37909), and I thought I'd share as it's a good one in Babelmark. Cheers Tom
2008 Apr 01
3
HTML entities in URLs and urlencoding
We recently received the following bug report for the python-markdown implementation: > The "&" are escaped in URLs. > > An example: > [Link](http://www.site.com/?param1=value1&param2=value1) > > Should output: > <a href="http://www.site.com/?param1=value1&param2=value1">Link</a> > > Currently outputs: > <a
2008 Jun 20
3
FF3 printing problem on Centos 4.x
I'm using Centos 4.x (fully up to date) on a system at work. I have also been using firefox 2 (directly from mozilla.org) on it for a long time, and it tends to work just fine. yesterday I installed the new FF3 release. It works fine too, with one exception: The print dialog shows no printers! The print button is greyed out! There actually four or five printers defined on the system, and all
2006 Sep 29
5
Request URI Length Override
Please help, Does anyone know how to override the Mongrel request URI limits built in? I know it was set at a 512 byte limit, but my application will not work with this in place. Why do I need a larger limit? I''ve written a rails application that uses a bookmarklet to send large amounts of data from site to site. The only way to do this is (and keep it cross browser
2007 Mar 03
1
Markdown within HTML
Before I start writing an HTML parser for Showdown, I want to see if there's a safe way to have Markdown process the contents of HTML block elements by default. I don't think markdown="1" is an official part of the language yet, so this seems like a good time to talk about it. Being able to wrap Markdown text in divs and spans would make it possible to add more structure to
2006 Dec 28
1
- HomeMarks.com - Like the world needs another AJAX home page.
http://www.homemarks.com/ I wanted to share my first pet project that I started about 8 months ago when I wanted to learn JavaScript, Ruby/RAILS as a new career move. It''s not like the world needs another AJAX home page, but I felt like most of the others included to many features while all I needed was a simple display of bookmarks for project related links. If you find it
2011 Apr 07
1
ol start with a specific number?
We recently received a request and working patch for Python-Markdown which adds support for starting an ordered list with the number given on the first line. For example: 3. Foo 4. Bar would result in <ol> <li start="3">Foo</li> <li>Bar</li> </ol> I'm not opposed to adding this, but I noticed that no other implementation
2004 Jun 21
0
Bookmarklet for searching R documentation
I recently posted a request for a Mozilla search engine plugin for the R java search applet. Having recieved no response, I pursued this myself and came up with an alternative. I found a "bookmarklet" that was used to submit searches to Amazon. I modified the code to submit searches to the R search engine. I tested the following using Firefox 0.9 on Windows 2000. Create a
2011 Nov 07
5
Multiline code block within a list
Hello, How to correctly made multiline code block within a list, like.. * foo * bar * ``` Code 1 Code 2 Code 3 ``` * Another list item The above markup is not working, what I want is Code 1, Code 2 and Code 3 appear in different lines. Thanks.
2008 Mar 25
6
Prototype 1.6.0.2 + Firefox 3 Enumerable problems
I am using Prototype 1.6.0.2 on Firefox 3.0b4. The following does not work when I enter it in Firebug: $A([1,2,3,4]).each(function(n) {alert(n);}); The above is just an example. Any array, using $A and any enumerable method, returns the following: TypeError: iterator.bind is not a function Seems like some objects are not being extended correctly? Using Prototype 1.5.0 on Firefox 3.0b4, this
2009 May 07
1
homemade fn marker weirdness...
so this is a weird one: http://babelmark.bobtfish.net/?markdown=%3Csup%3E*%3C%2Fsup%3EThe+[distinction]+between+certification+and+qualification%2C+although+vague%2C+appears+to+be+that+under+the+NASED+system%2C+states+did+the+ultimate+*certification*+of+a+voting+system+for+fitness+in+future+elections. Note that the `<sup>*</sup>` is being turned into
2012 Oct 31
0
a new acceptance of a variety of (inconsistent) markdown implementations
babelmark sure does make it easy to convince people that markdown inconsistencies are a mess of trouble. before, people ignored the problem and/or its scope. and waylan's new list just shows how big that mess is. especially if we acknowledge all the other uses extant. plus gruber's latest manifestation of his longstanding reluctance to "fuck with it" means markdown is stuck.
2009 Mar 29
1
X session lockup (CentOS 4.7)
I just had a very odd incident with my session locking up, so I thought I'd describe it to see if it rings any bells with anyone. Background: I shut down my machine last night for Earth Hour, so the last thing I did before logging out was exit Firefox3, telling it to save my open tab state. When I turned the system back on and started FF3 again, it installed new versions of three plugins (I
2008 Feb 08
1
unwanted paragraph (syntax edge-case)
Hi list! Take this markdown input: * asdf * asdf * asdf asdf What I want: <ul> <li>asdf <ul> <li>asdf</li> <li>asdf</li> </ul> <p>asdf</p></li> </ul> But markdown puts the first asdf into a paragraph. There is nothing I can do
2008 May 03
1
markdown implementation in C using PEG grammar
I've just uploaded an implementation of markdown in C. It defines the syntax using a PEG grammar, so it should be easy to extend and modify. Right now it can produce output in either HTML or LaTeX, but it would be simple to add other output formats. It's very fast: on my machine, it converts a 178K markdown file in 0.14 seconds (vs. 9.6 seconds for the latest Markdown.pl and 0.57 seconds
2008 Mar 29
1
Bug?
Hi, This might be related to the bug reported earlier about parsing URLs with parens, but the following looks like a bug to me: [ZIP archives](http://en.wikipedia.org/wiki/ZIP_(file_format) "ZIP (file format) - Wikipedia, the free encyclopedia") gets rendered by Markdown 1.01 as: <p><a href="http://en.wikipedia.org/wiki/ZIP_(file_format">ZIP