Displaying 20 results from an estimated 1000 matches similar to: "multiline header"
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 Aug 03
1
edit in place - splitting a markdown text according to headers
Hi,
I'd like to implement an edit-in-place functionnality for a (python)
markdown-based wiki. Does anyone know how I could proceed?
I was thinking I could split the markdown file according to h1 headers...
Thanks,
Alex
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 Jun 07
2
mkhtml.py: writing HTML documents in Markdown
[Note to markdown-discuss readers: for context see
<http://lists.canonical.org/pipermail/kragen-hacks/2008-June/000488.html>]
* Kragen Javier Sitaker <kragen at pobox.com> [2008-06-07 09:40]:
> Stylesheeting comes naturally. 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
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
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
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
2006 Jun 30
2
underscore and italic policy
Hi All,
So I just joined the list - first off, Markdown is a great format and
we're using it in our online community project disCourse:
http://discourse.ics.hawaii.edu
We're using markdown for our wiki pages, stories, message postings,
pretty much everywhere.
One markdown policy that doesn't seem to fit intuitively for our users
is the fact that embedded underscores leads to
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
2009 Sep 09
4
tables with Unicode box drawing characters?
Hello,
I read David Wheeler's table proposal[1] for Markdown and very much
agree with his conclusion and PostgreSQL-inspired proposed format. I
also read the mailing list archives for 2009 but did not find any
clear concesus on whether DW's format was officially accepted (I hope
it is soon!).
However, I want to ask: has anyone considered taking these simple
ASCII table drawings to the
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 Feb 29
4
evolving the spec (was: forking Markdown.pl?)
> Anyway, a spec for Markdown Extra would contain a spec for Markdown as
> well, wouldn't it?
I think the whole enterprise would be a lot more valuable, if we
produce a combined spec, which would be self-contained, and call it
Markdown 2.0.
I don't think we necessarily need a formal grammar. What we need is
to create a document, starting with "Markdown Syntax" perhaps,
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
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
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
2009 Apr 07
1
Python-Markdown 2.0 Final Released!
I am happy to announce the release of Python-Markdown 2.0 final. We
have versions for Python 2.3-2.6 and Python 3.0!
See the release notes here:
https://sourceforge.net/project/shownotes.php?release_id=674043&group_id=153041
Download from PyPI here:
http://pypi.python.org/pypi/Markdown/2.0
--
----
\X/ /-\ `/ |_ /-\ |\|
Waylan Limberg
2009 Feb 18
4
Disambiguate List Item Followed by Code Block
Howdy,
Quick question: Since list items with multiple paragraphs need to be
indented four spaces, and code blocks are also indented four spaces,
is there any way to disambiguate a list followed by a code block?
Example:
* This is a list
item.
* And so is this.
Is this a second paragraph in the second list item,
or a code block?
It looks like Markdown.pl and discount
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 ?
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]: https://github.com/waylan/Python-Markdown/issues/129
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