Re: No way to indent text?

2009-08-05 Thread Milian Wolff
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

Re: No Markdown in s or s ?

2009-04-23 Thread Milian Wolff
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

Re: Paragraph tags around blocks

2009-03-07 Thread Milian Wolff
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

Re: Feature Request External label resolution

2008-04-20 Thread Milian Wolff
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

Re: Feature Request External label resolution

2008-04-20 Thread Milian Wolff
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?

Re: Feature Request External label resolution

2008-04-20 Thread Milian Wolff
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

Re: HTML entities in URLs and urlencoding

2008-03-31 Thread Milian Wolff
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. ___

Re: a JavaScript front-end for Babelmark

2008-03-25 Thread Milian Wolff
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

Re: Markdown doesn't always generate XHTML

2008-03-14 Thread Milian Wolff
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

Re: Markdown doesn't always generate XHTML

2008-03-14 Thread Milian Wolff
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 > >

Re: Whitespace in img src

2008-02-25 Thread Milian Wolff
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

Re: x

2008-02-18 Thread Milian Wolff
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.

unwanted paragraph (syntax edge-case)

2008-02-08 Thread Milian Wolff
? 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

Re: Importing Markdown posts to WordPress

2007-12-26 Thread Milian Wolff
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

[Bug] Codeblock in _second_ line

2007-10-29 Thread Milian Wolff
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

Re: First Markdownify Beta released

2007-10-12 Thread Milian Wolff
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

Re: First Markdownify Beta released

2007-10-11 Thread Milian Wolff
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 > >>

Re: First Markdownify Beta released

2007-10-09 Thread Milian Wolff
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 > >>

Re: Flat code block syntax

2007-10-09 Thread Milian Wolff
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,

Re: Flat code block syntax

2007-10-09 Thread Milian Wolff
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

Re: First Markdownify Beta released

2007-10-08 Thread Milian Wolff
'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

First Markdownify Beta released

2007-10-07 Thread Milian Wolff
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

Re: Flat code block syntax (was seemingly no good way to end bulleted list and start code block)

2007-10-07 Thread Milian Wolff
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. ___

Re: anchor names from headers (Setext and atx)?

2007-09-24 Thread Milian Wolff
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

Re: anchor names from headers (Setext and atx)?

2007-09-22 Thread Milian Wolff
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

Differing HTML output for PHP Markdown and PHP Markdown Extra

2007-09-18 Thread Milian Wolff
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

Re: [ANN] MDTest 1.0

2007-09-16 Thread Milian Wolff
'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

Re: [ANN] PEAR Channel and Git Repository Mirror for PHP Markdown & Extra

2007-09-02 Thread Milian Wolff
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

Re: [Bug] PHP Markdown (Extra) generates invalid HTML for code blocks

2007-09-02 Thread Milian Wolff
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

[Bug] PHP Markdown (Extra) generates invalid HTML for code blocks

2007-09-02 Thread Milian Wolff
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

[Possible Bug]: Additional wrapper around HTML input

2007-09-02 Thread Milian Wolff
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

Re: Backtick Hickup

2007-08-09 Thread Milian Wolff
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): > &

Backtick Hickup

2007-08-08 Thread Milian Wolff
ignore me ;-) -- Milian Wolff http://milianw.de ___ Markdown-Discuss mailing list Markdown-Discuss@six.pairlist.net http://six.pairlist.net/mailman/listinfo/markdown-discuss

Re: Bug: Code block after list

2007-08-04 Thread Milian Wolff
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

Re: svg as a spescial case for image

2007-05-28 Thread Milian Wolff
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

Re: Make --html4tags the default?

2007-05-02 Thread Milian Wolff
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:/

Re: Make --html4tags the default?

2007-05-02 Thread Milian Wolff
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 _

Re: Make --html4tags the default?

2007-05-02 Thread Milian Wolff
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

Re: converting html with \xa9 to Markdown and using iconv?

2007-03-22 Thread Milian Wolff
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

Re: acronym tag

2007-03-06 Thread Milian Wolff
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

Newlines in link titles for wrapping?!

2007-02-26 Thread Milian Wolff
, 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

Re: Markdown and Wikis

2007-02-20 Thread Milian Wolff
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

Re: Is this possible to do?

2007-01-19 Thread Milian Wolff
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

html2text.php 1.3

2006-12-23 Thread Milian Wolff
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

Re: back-translation and round-tripping

2006-10-18 Thread 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

Re: `abbr` for machine-readable microformat dates explained (was: Markdown and the hCal microformat)

2006-08-03 Thread Milian Wolff
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

Re: Markdown and the hCal microformat

2006-08-03 Thread Milian Wolff
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

Re: Newline before

2006-07-02 Thread Milian Wolff
. 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

Newline before

2006-07-02 Thread Milian Wolff
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).

Re: html2text in php

2006-07-01 Thread Milian Wolff
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

Re: escaping backticks not working

2006-06-30 Thread Milian Wolff
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

escaping backticks not working

2006-06-30 Thread Milian Wolff
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

Re: html2text in php

2006-06-30 Thread Milian Wolff
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

html2text in php

2006-06-29 Thread Milian Wolff
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