Displaying 20 results from an estimated 5000 matches similar to: "A bug or an undocumented feature?"
2013 Jan 23
3
footnote:id, colons and jquery
I just received a [bug report] for Python-Markdown complaining that
colons are used in the ids of footnotes. For reference, we [output]
the same format at PHP Markdown Extra. The general complaint is that
the colon in the id attribute (`id="fnref:1"`) causes jquery to choke
when referencing that id from javascript because jquery uses colons to
indicate pseudo elements (as does CSS). As
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
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¶m2=value1)
>
> Should output:
> <a href="http://www.site.com/?param1=value1¶m2=value1">Link</a>
>
> Currently outputs:
> <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.
2012 Aug 07
1
Footnote output not valid
> I just received a report [1] that the footnote output we use in
> Python-Markdown (an exact copy of PHP Markdown Extra [3]) is not valid
> HTML [3]. If you notice he's using HTML5. At least the footnote syntax
> does valid on XHTML1 or HTML4. Anyway, any suggestions on how the
> various footnote implementations want to move forward with this?
>
> [1]:
2011 Sep 22
1
computation of header ids
Hi,
I'm using the header id extension from markdown extra and in my
perception it gets wrong when I use attributes on headers, for instance:
>>> md = markdown.Markdown(['extra'])
>>> md.convert('# My header {@class=red}')
u'<h1 class="red" id="my_header_classred_1">My header </h1>'
I would have expected:
2011 May 10
13
Proposed table specification (long!)
Gentlefolk,
I have been thinking on Markdown's lack of "proper" table support for a long
while now. Here's where I have arrived...
## I Don't Like HTML Tables
It is often argued that embedded HTML is the way to markdown rich tables.
Unfortunately, this contradicts the higher markdown ideal that a raw
markdown document (including tables!) should be good
1. Firstly for
2009 Jun 21
5
Query about emphasis
Hello List,
Firstly, I was very impressed when I tried markdown 2.0 recently. Fantastic
work all!
I have a query about the treatment of emphasis.
I realise that the horse has bolted, and changes to currently supported
functionality are unlikely to attract support. However, there does seem (at
least in my tiny mind) to be a mis-match between the following stated goal
and the present
2008 Feb 13
3
Syntax for extensions
Hello,
I need to to slightly extend the markdown syntax. (place an image (img tag)
in text which URL has not yet been determined). Therefore I want to define
something like $[Alt text](img.jpg) which would be replaced by my
pre-processor with ![Alt text](/path/to/img.jpg) and then sent to markdown.
Is there any special syntax that should be used for such 3rd party extensions?
How would you do
2006 Nov 22
4
Know ye of such a beast ?
// hoping this is sufficiently on-topic //
php-driven, markdown-aware, open source wiki/cms that has some degree
of version control, a flexible system for privs/access control, is
installable (or buildable) on OS X and has an easy installer for
windows ?
2007 Dec 05
1
[patch] Headers, unresolved footnotes, and fractions
Hi folks, thanks for the useful code!
I've added some functionality to PHP Markdown Extra and PHP
SmartyPants. Diffs attached.
For PHP Markdown Extra:
*A new config option, MARKDOWN_HEADER_BASE, which sets the largest
header level that Markdown can generate and defaults to 1; useful if
you use <h1> for site-wide elements and want Markdown-generated
headers to start at
2013 Jul 01
6
attribute blocks for definition lists
Hello,
As I am using markdown to write documentation, I am often tempted to make
links to terms in definition lists.
Since this is not possible for now (at least in php markdown extra), I was
wondering if this could be a common addition in major implementation
supporting definition lists.
the syntax would be
term {#id}
: definition
This syntax tries to follows current convention and
2012 Aug 17
4
Spaced text
Hi eveybody!
I've got a suggestion to think about. Although i think that the drawbacks are bigher than the advantages im goong to tell you abou my idea:
My idea is another syntax for e m p h a s i z e d words. It uses two spaces before and after the emphasized part and alternating space and letter in between, just like in the sentence before.
Pros:
? no symbol needed
? granny compatible
2009 Mar 05
4
Table of contents
I'm using Markdown in an app and would like to provide support for including
a table of contents.
Any suggestions for a syntax? Has anyone done this before?
My first thoughts are:
1. Have a special header item (using markdown extra's header syntax), e.g.
generate-contents: yes
2. Have a special xml tag with optional alternative text inside, e.g.
<contents>
1. First thingy
2.
2006 May 02
2
Bug: invalid nesting of inline markup across link labels
Hi John,
there?s a bug in Markdown.pl:
[foo*bar](#) [baz*quux](#)
This expands to the following:
<p><a href="#">foo<em>bar</a> <a href="#">baz</em>quux</a></p>
Those `*` should either be disregarded or the tags should nest
correctly:
1. <p><a href="#">foo*bar</a> <a
2008 Nov 14
2
definition lists?
Any way of writing definition lists?
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3147 bytes
Desc: not available
Url : <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20081114/cb1ee902/attachment.bin>
2008 Feb 03
2
Entity conversion glitch?
Hello,
Given the following text:
under a license from AT&T; however, others were based on BSD instead.
Daring Fireball's Markdown Dingus produces:
<p>under a license from AT&T; however, others were based on BSD
instead.</p>
Note how the '&' is not escaped to '&'.
Bug? Feature?
Thanks in advance.
Kind regards,
PA.
2006 May 12
1
A Single Test File?
I was wondering if there is a single text file that contains all the
markup in a way that one can visually check to see if a markdown
script is succeeding. I know there's a Perl test suite, but I'm
looking for just one source file.
Thanks.
--
Ben Wilson
" Mundus vult decipi, ergo decipiatur"
2006 Oct 17
2
Block quotes with a blank line between them get merged
Text:
> number 1
>
> letter B
> last one
Markdown output:
<blockquote>
<p>number 1</p>
<p>letter B</p>
<p>last one</p>
</blockquote>
Is this the intended behavior? I think there should be two separate
block quote tags like this:
<blockquote>
<p>number 1</p>
<p>letter B</p>
2007 Nov 03
3
ANN: python-markdown2 -- another Python implementation of Markdown
Hello all,
I'm announcing python-markdown2 -- another Python implementation of
Markdown. (MIT license.)
http://code.google.com/p/python-markdown2/
It should be a drop-in replacement for
[markdown.py](http://www.freewisdom.org/projects/python-markdown/). It
fixes some issues that I ran into with markdown.py [^1]. I believe
that it is faster than markdown.py [^2] and on par or a little