uote is indenting it afair.
--
Milian Wolff
http://milianw.de
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss
e markdown in the
> navigation as well, say for a list of links. Seems like a pretty
> serious limitation.
There are extensions to the blank Markdown specification, for example PHP
Markdown Extra supports something like the following:
Here comes more markdown!
* list
* foobar
--
M
uld be. Markdown does not alter / change stuff inside HTML
tags (think or similar). At least PHP Markdown Extra supports a
proprietary `markdown="1"` attribute for tags which should get their contents
markdowned.
--
Milian Wolff
m...@milianw.de
http://milianw.de
signature.as
Am Sonntag, 20. April 2008 schrieb Sherwood Botsford:
> Milian Wolff wrote:
> > Yes that seems to be a good idea. Though I recon you could pick one of
> > the Markdown implementations with support for extensions or one which is
> > object orientated so you could simply ov
Am Sonntag, 20. April 2008 schrieb Sherwood Botsford:
> Milian Wolff wrote:
> > Am Sonntag, 20. April 2008 schrieb Sherwood Botsford:
> >> So perhaps I should ask a more general question:
> >
> > You build your whole page with Markdown? No underlaying CMS or similar?
l with large numbers of links?
I use Drupal and write the contents in Markdown. But Navigation, related
Links, Tags etc. are generated by Drupal - no Markdown there. The basic
templates don't use Markdown either.
--
Milian Wolff
http://milianw.de
OpenPGP key: CD1D1393
signature.asc
Descripti
is valid (x)HTML!
> > So the "&" must not be escaped!
It must! See also <http://htmlhelp.com/tools/validator/problems.html#amp>
--
Milian Wolff
http://milianw.de
OpenPGP key: CD1D1393
signature.asc
Description: This is a digitally signed message part.
___
ohn
Great, what about grouping by output? So that one can easily see which
implementations agree on the output.
--
Milian Wolff
http://milianw.de
OpenPGP key: CD1D1393
signature.asc
Description: This is a digitally signed message part.
___
Mar
Am Freitag, 14. März 2008 schrieb Joseph Lorenzo Hall:
> On Fri, Mar 14, 2008 at 12:11 PM, Milian Wolff <[EMAIL PROTECTED]> wrote:
> > > I have two issues with this:
> > > 1. The script tag isn't closed, which means it's not valid XML (and
> > > th
Am Freitag, 14. März 2008 schrieb Ulf Ochsenfahrt:
> Hello everybody,
>
> I've just noticed that markdown doesn't always generate XHTML. In
> particular the input
>
>
iver text]("pfad/und/eine lange/url zum bild.jpg" testtitle)
Which would be outputted as:
--
Milian Wolff
http://milianw.de
OpenPGP key: CD1D1393
signature.asc
Description: This is a digitally signed message part.
___
Markdown-Dis
you expect?
I'd expect:
x<max(a,b)
So yes, it seems to be a bug indeed. Both, PHP Markdown and PHP Markdown Extra
are effected as well.
--
Milian Wolff
http://milianw.de
OpenPGP key: CD1D1393
signature.asc
Description: This is a digitally signed message part.
? Thus my Markdownify[^1] (HTML to Markdown) converter,
cannot convert this HTML properly.
[^1]: see <http://milianw.de/projects/markdownify>
I recently released a second beta version.
--
Milian Wolff
http://milianw.de
OpenPGP key: CD1D1393
signature.asc
Description: Thi
e enclosed by simple paragraph tags
> >instead.
>
> I'm not really sure what you mean, Markdown don't normally uses
> html tags. Do you have an example of a post so we can see how it look?
Or maybe the export/import loses whitespace indendation? Do lists etc. work?
--
Milian W
is still not handled properly!
--
Milian Wolff
http://milianw.de
OpenPGP key: CD1D1393
signature.asc
Description: This is a digitally signed message part.
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net
the weekend with those changes and a few more (I hope).
Have a nice day
--
Milian Wolff
http://milianw.de
OpenPGP key: CD1D1393
signature.asc
Description: This is a digitally signed message part.
___
Markdown-Discuss mailing list
Markdown-Discuss
Am Dienstag, 9. Oktober 2007 schrieb Andy Fragen:
> On Oct 8, 2007, at 10:37 PM, Milian Wolff wrote:
> > Am Dienstag, 9. Oktober 2007 schrieb Andy Fragen:
> >> Milian,
> >>
> >> This is great. But I have a question. Are you going to add a method
> >>
Am Dienstag, 9. Oktober 2007 schrieb Andy Fragen:
> On Oct 8, 2007, at 10:37 PM, Milian Wolff wrote:
> > Am Dienstag, 9. Oktober 2007 schrieb Andy Fragen:
> >> Milian,
> >>
> >> This is great. But I have a question. Are you going to add a method
> >>
Am Dienstag, 9. Oktober 2007 schrieb Lasar Liepins:
> Hello,
>
> On 09.10.2007, at 16:24, Milian Wolff wrote:
> > Am Dienstag, 9. Oktober 2007 schrieb Lasar Liepins:
> >> Hello,
> >>
> >> Personally I'd hate to have to use tildes for code spans,
t should rather be "Alt Gr" and "+", at least that works for
me! "Ctrl", "Alt" and "+" could work as well.
(On German keyboard layouts).
--
Milian Wolff
http://milianw.de
OpenPGP key: CD1D1393
signature.asc
Description: This is a digitally sign
'm sorry that I do not understand you. Could you
clarify?
Or do you mean a simple website containing a textarea which accepts HTML input
and returns the equivalent Markdown text? Why don't you build something like
that for yourself? It's really dead simple...
Have a n
ing! If you could, please do a code review and send me patches or
just notify me of glitches! Also any bugs etc. would most appreciated on the
tracker:
<http://sourceforge.net/tracker/?group_id=204915>
Have fun, I'm off to my first day at university ;-)
--
Milian Wolff
http://milian
anced "[" "]"
> return $ Note [Para contents]
> ~~~~~
That one looks really good!
--
Milian Wolff
http://milianw.de
OpenPGP key: CD1D1393
signature.asc
Description: This is a digitally signed message part.
___
read by HTML
> parsers) is to close it with an explicit closing tag:
>
>
Yes and no: Your markup is valid though it bloatens the markup by inserting an
empty (thus meaningless) tag to the DOM Tree. Why not simply use the ID
attribute on the correct item?
--
Milian Wolff
http://m
mething like that.
>
> Or is that available some different way?
In PHP Markdown Extra there is:
## This is an H2 {#myid}
Also note that your markup is not very good, you should use something like
that:
This is an H2
But custom ID's (see above) is far bet
Take this input:
*test _test* test_
And look at the output of PHP Markdown and PHP Markdown Extra - it differs:
# PHP Markdown:
test _test test_
# PHP Markdown Extra:
*test test* test
I'd say the first one is correct here...
--
Milian Wolff
http://milia
's
output would require an input like so:
![Alt text](/path/to/img.jpg "")
What do you think about that? Is this a bug in Markdown.pl ?
--
Milian Wolff
http://milianw.de
___
Markdown-Discuss mailing list
Markdown-Disc
t; @define( 'MARKDOWN_EMPTY_ELEMENT_SUFFIX', " />");
I once read that using "@" to suppress errors is quite slow. Why not use
defined() ?
if (!defined('...')) {
define('...', '...');
}
--
Milian Wolff
ht
Am Sonntag, 2. September 2007 schrieb Michel Fortin:
> Le 2007-09-02 à 10:23, Milian Wolff a écrit :
> > PHP Markdown v 1.0.1i and PHP Markdown Extra v 1.1.5 generate
> > invalid HTML for
> > code blocks
> >
> > Take this input:
> >
> > paragraph
&g
PHP Markdown v 1.0.1i and PHP Markdown Extra v 1.1.5 generate invalid HTML for
code blocks
Take this input:
paragraph
codeblock
Markdown will generate:
paragraph
codeblock
Notice the wrong position of the closing code tag.
--
Milian Wolff
http://milianw.de
ed on the project pages).
Interesting is, that Markdown Extra handles this correctly.
PS: The above input is a snippet from `MDTest/markdown.mdtest/Inline HTML
(Simple).text`
--
Milian Wolff
http://milianw.de
___
Markdown-Discuss mailing list
Markdown-Di
Am Donnerstag, 09. August 2007 schrieb Michel Fortin:
> Le 2007-08-08 à 18:29, Milian Wolff a écrit :
> > I'm using Michel Fortin's MDTest cases to rewrite my html2text.php
> > script.
> > Just now I stumbled upon this bug (in PHP Markdown at least):
> &
ignore me ;-)
--
Milian Wolff
http://milianw.de
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss
all these `~`, just do this:
I am preformatted {
don't interpret me;
}
Everything in here is to be
taken literally.
If I'm mistaken and this was not the proposed solution, please point it out.
--
Milian Wolff
http://milianw.de
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss
o/img.svg)
>
> ![Alt text](/path/to/img.svg "Optional title")
>
> One could write:
>
> ![Alt text](/path/to/img.svg "Optional title" 512x384)
>
> and:
>
> [id]: /path/to/img.svg "Optional title attribute" 512x384
Seems straig
Am Donnerstag, 03. Mai 2007 schrieb Milian Wolff:
> Validate the following document:
> http://milianw.de/misc/empty_tags.html
Woha, just pushed it through validome and it says indeed that the trailing
slashes are not allowed in html!
Now I'm speechless!
--
Milian Wolff
http:/
in having the documents be kind-of
> parsable as poor man's XML even if they don't fully conform to XHTML
> specifications.
Yes! I think it's a great to be able to use a simple xml parser for html
documents (it is far easier).
--
Milian Wolff
http://milianw.de
_
ow xhtml is in the general part (which is touched by markdown
that is) pretty much the same as html4 but with some stricter rules.
So any xhtml markdown output should be valid html 4!
--
Milian Wolff
http://milianw.de
___
Markdown-Discuss mailing li
e their URLs at hand. Maybe someone will be able to
help you.
[1]: http://milianw.de/projects/html2text/
--
Milian Wolff
http://milianw.de
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss
Am Dienstag, 06. März 2007 schrieb Emmanuel VAÏSSE:
> Hello, is there an acronym method in php markdown extra ?
No, but one for ``. See [here][1] for more.
[1]: http://michelf.com/projects/php-markdown/extra/#abbr
--
Milian Wolff
http://milianw
,
consectetuer adipiscing elit.)
Is this a bug? I'd say so! Or else wrapping of long titles would not be
possible. And yes - there are people who use pretty long titles, Mr John
Gruber himself for example uses:
Customize the font size and presentation options for this web site.
so far
--
M
of the
DokuWiki formatting syntax.
[1]: http://wiki.splitbrain.org/wiki:syntax
--
Milian Wolff
http://milianw.de
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss
a data (as
I got it, there are some in development, and some are already usable; though
keep in mind that meta data is not yet officially part of markdown).
The other possibility would be to use html in your text:
![A complex object](images/CloneAdvancedObject.png)
Or something alike.
--
Milia
ttp://milianw.de/projects/html2text/> or download it
directly from <http://milianw.de/projects/html2text/download/>
merry christmas to you all :) I would be happy about any feedback and don't
forget to report any bugs.
--
Milian Wolff
:
http://milianw.de/projects/html2text/
I have not looked into it for quite a while now, but I think I'll hunt those
bugs down in the future.
Take a look there, I achive pretty good results.
--
Milian Wolff
http://milianw.de
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss
the time zone that was posted in except databases?
--
Milian Wolff
http://milianw.de
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss
ectyl fit into an extension.
Nothing for the main package though.
--
Milian Wolff
http://milianw.de
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss
.
Again - what reason would that be, to add an additional newline? Either they
thought it would look better (which it does not imho) or they just did it
without thinking of what it would do.
If it would be somewhere deep inside a function / regular expression or
whatever I would understand to le
ee. With a normal stylesheet which has white-space:pre; set on pre/code
blocks, you'll see an empty line after "This is Code". In my eyes that is
wrong.
It's pretty easy to prevent though, you'll just have to remove the newline
before `` in _DoCodeBlocks(_callback).
out.
Great! I love markdown :)
--
Milian Wolff
http://milianw.de
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss
Am Freitag, 30. Juni 2006 14:39 schrieb Michel Fortin:
> Le 30 juin 2006 à 7:36, Milian Wolff a écrit :
> > Backticks can't be escaped in both .pl and .php Markdown:
> >
> > Text `escaped backtick: \` this should be code` Text
> >
> > Creates the foll
Backticks can't be escaped in both .pl and .php Markdown:
Text `escaped backtick: \` this should be code` Text
Creates the following output:
Text escaped backtick: \ this should be code` Text
--
Milian Wolff
http://milianw.de
___
Mar
wn. I'll add that option to the
interface asap.
--
Milian Wolff
http://milianw.de
___
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss
s and
definitionlist are supported in some way)
There are still some bugs but I hope to sort them out soon.
Best regards
PS: I have a question regarding regular expressions, should I write that in
another email? Or is this not the right place for that?
--
Milian Wolff
http://milia
54 matches
Mail list logo