Displaying 20 results from an estimated 4000 matches similar to: "Bug using inline code blocks in nested lists?"
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
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 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
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
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.
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 Sep 17
2
bug in maruku with single-element nested unordered list?
This does not produce the expected output, yet does work on the dingus [1]:
* asdf
* asdf
>> require ''maruku''
=> true
>> doc = Maruku.new("* asdf\n * asdf\n")
=> md_el(:document,[
md_el(:ul,[md_el(:li_span,["asdf *
asdf"],{:want_my_paragraph=>false},[])],{},[])
],{},[])
>> doc.to_html
=> "<ul>\n<li>asdf *
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 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
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 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 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:
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
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
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
2011 Jan 05
2
check, that a script is in a folder
$ echo ${PWD##*/}
somefolder
$ if "${PWD##*/}" -eq "asdf" > /dev/null; then echo "this is the asdf folder"; else exit 1; fi
bash: notthatfolder: command not found...
this is the asdf folder
$
So i just want to check that i'm in an exact folder. e.g.: "asdf"
What's wrong with my one-liner?
I just want to check, that a script is in a folder,
2011 Jan 02
3
variable in loop
$ ASDF=hello; a=0; a=$(( 70 - $(echo $ASDF | awk '{print length}') )); echo "$a $ASDF"$(for i in {1..$a}; do printf "."; done)
65 hello.
$
Why doesn't it print:
65 hello.................................................................
What am i missing?
2007 May 18
1
naive question about using an object as the name of another object
This is a dumb question, but I'm having trouble finding the answer to this.
I'd like to do the following:
x<-"asdf"
and then have
the object x.y become automatically converted/represented as asdf.y (sort of
akin to macro variables in SAS where you would do:
%let x=asdf and do &x..y)
What is the syntax for having x represented as "asdf" in x.y ?
Thanks,
2009 Jun 16
2
Question regarding dataframes, matrix, frame, etc...
Hi all,
As of now, I have a 15x8 matrix (name is "asdf"). The first seven columns
contain numbers while the last column contains a string. The class of each
column is "character". When I use the plot function to display a scatter
plot between any of the two columns, ie. plot(asdf[, 1], asdf[, 2])
everything works fine. However, if I want to use the command "pairs" to
2012 Jan 24
2
Password auth scheme question with mysql
Hi, I have a current auth database using mysql with a "password" column
in plain text. The config has "default_pass_scheme = PLAIN" specified
In preparation for a more adaptable system I changed a password entry
from "asdf" to "{PLAIN}asdf", but now auth fails. Works fine if I
change it back to just "asdf". (I don't believe it's a