Michel Fortin

Results 160 comments of Michel Fortin

That doesn't really tell me what is the input given to Markdown. If I had to guess, I'd say the input is something like this: ``` The default snippet call...

So, I'm trying this small PHP program: ``` $parser = new MarkdownExtra; $parser->code_attr_on_pre = true; $content = "For example, with some fictive custom chunks to influence the output; ~~~~ {.language-markup}...

I'm no sure I can really change the default for `code_class_prefix` (which is currently empty) without breaking existing documents that rely on the default. I agree though that perhaps I...

As I said in my previous comment, using a class name both inside and outside of the braces is currently not allowed. But I realize it'd probably be a good...

@silverpark You need to use `MarkdownExtra` class as the parser. When you write `new Markdown` you are instantiating the plain-Markdown parser that does not include the Extra features. Also, this...

It already works like that internally. Look at the constructor of the Markdown Extra parser, it just adds additional filters to the default ones defined in the plain Markdown parser....

Well, you want `- [ ]` to turn into a checkbox, but probably not in all contexts. Not in an HTML block, not in a code block. What about lists...

The `` syntax has the benefit of working fine with URLs of any protocol. It also allows writing URLs that are not meant to be links. I don't think it's...

The problem is that Markdown wasn't designed with that kind of usage in mind. Autolinks are only one issue for usage in blog comments or in a forum and I'm...

Maybe, maybe not. I'll look deeper into this when I have the time. But in general each new option adds some room for misuse, interoperability problems, and bugs/conflicts unit tests...