search for: babelmark

Displaying 20 results from an estimated 25 matches for "babelmark".

2008 Mar 22
7
Babelmark
...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 give the input and you get the HTML output for Markdown.pl 1.0.1 and 1.0.2b8, PHP Markdown and PHP Markdown Extra, Python Markdown, Text::Markdown and Text::MultiMarkdown, and finally Showdown. Unfortunatly, my web host doesn't do...
2008 Mar 25
2
a JavaScript front-end for Babelmark
Hi, I've built a quick-and-dirty diff GUI for Babelmark (thanks, Michel!). You can get it as a bookmarklet here: http://attacklab.net/babelmark/ If either Michel or Tom is interested in hosting this, I'll be happy to do the grunt work for a real integration. It's kind of pain in the ass to hit the bookmarklet every time you get new dat...
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...
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 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), an...
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&g...
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
2011 Mar 18
1
Bug using inline code blocks in nested lists?
Hi, I am generating a nice document with some inline code blocks and came around the following error: 1. asdf - \` asdf `` `asdf` `` produces: <ol> <li>asdf <ul><li>` asdf <code><code>asdf</code></code> </li></ul></li> </ol> instead of: <ol> <li>asdf <ul><li>` asdf
2011 Mar 19
2
Spaces following quotes disappear
I have a line that includes a double quotation mark followed by 5 spaces, and then some text, like so: " global" when it is converted with markdown, the spaces disappear, so it results in "global" Is there a way to keep these spaces in there? Thanks for any help. Rick -------------- next part -------------- An HTML attachment was scrubbed... URL:
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 manifesta...
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
2011 Apr 07
1
ol start with a specific number?
...st 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 (of those on Babelmark) implements this by default (not counting Pandoc's extended mode). I haven't checked if other implementations offer this as an option. My question is: should this be an option to turn on and off, and if so, should it be on or off by default? JG states in the docs: > If you do use lazy...
2011 Nov 30
3
Inline HTML legalities
Hi, I'm writing a Markdown Parser in Scheme by porting bits of Markdown.pl. As you're probably aware, the Perl version massages the file into the final output with a number of regexes. In my version I'm trying to use the regexes to detect the starts and ends of the features and then take specific action to emit the final representation. I'm doing it this way because I want to
2008 Jun 07
2
mkhtml.py: writing HTML documents in Markdown
...ly. I just put a `<style>` element > at the top with a few lines inside of it to format nicely. Note that Markdown ends up wrapping `<link>` and `<style>` in `<p>` tags, arguably erroneously. Weirdly, it looks like Python-Markdown should avoid that mistake: * <http://babelmark.bobtfish.net/?markdown=%3Cstyle%3Efoo+%7B%7D%3C%2Fstyle%3E> * <http://babelmark.bobtfish.net/?markdown=%3Clink+%2F%3E> But at the top of <http://canonical.org/~kragen/crywrap.html> the problem shows up anyway. Of course, neither tag has any business being in the HTML body; they sho...
2008 Sep 08
13
list corner case
I'm curious how people think the following *should* be interpreted: - one 2. two http://babelmark.bobtfish.net/?markdown=-++one%0D%0A2.+two%0D%0A%0D%0A As you can see, implementations split into three groups here: (a) treat as an unordered list Markdown.pl, Python markdown, MultiMarkdown, BlueCloth, MarkdownJ, Showdown (b) treat as an unordered list with an ordered sublist...
2008 Nov 20
1
Links and Message URIs
Here is a OS X message URI in angled brackets: <message://%3cE1KzXg9-0000Qb-3G at smtp1.mail.ox.ac.uk%3e> Markdown yields: <p><message://%3cE1KzXg9-0000Qb-3G at smtp1.mail.ox.ac.uk%3e></p> Shouldn't it have given instead: <p><a href="message://%3cE1KzXg9-0000Qb-3G at smtp1.mail.ox.ac.uk%3e">message://%3cE1KzXg9-0000Qb-3G at
2012 Sep 26
1
Correct behaviour of block elements without leading line break before paragraph
Hi I hope I haven't missed anything which answers this question on the syntax page, but what is the correct behaviour of the following markdown random text heading == random text # heading random text + list 1 (note there is not space before the '+') The following page treats the headings differently to the start of the list http://old-wp.slekx.com/the-markdown-tutorial/ That
2009 Oct 10
0
PHP Markdown 1.0.1n & Extra 1.2.4
...added in the 1.0.2 betas, but commented out in the 1.0.1 branch, waiting for the feature to be officialized. [But half of the other Markdown implementations are supporting this syntax][half], so it makes sense for compatibility's sake to allow it in PHP Markdown too. [half]: http://babelmark.bobtfish.net/?markdown=This+is+%5Bmy+website%5D.%0D%0A%09%09%0D%0A%5Bmy+website%5D%3A+http%3A%2F%2Fexample.com%2F%0D%0A&src=1&dest=2 * Now accepting many valid email addresses in autolinks that were previously rejected, such as: <abc+mailbox/department=shipping at example.com>...
2008 Apr 06
1
buggy HTML from nested lists w/ paragraphs
I ran into a weird problem while writing my own little guide to Markdown (using Markdown, of course). The document is mostly made of list items in nested ul's. As I neared the end, I found (via MarsEdit's preview) that in place of two sections of content, Markdown had begun to generate gibberish strings like this: aa9ca05a7c006bc5e5c091c00aee0cd7 After weeding through different
2009 Apr 28
3
Inline Link Error?
Hello Everyone, Can someone spot the error in the following snippet of link text? It doesn't work through php-markdown in wordpress and I just wanted to know if there's something obvious I'm missing. Thanks in advance! can come of us. "Every good and perfect gift comes from above" ([James