Extra markdown suggestions

Michel Fortin michel.fortin at michelf.com
Fri Nov 28 20:56:20 EST 2008


Le 2008-11-28 à 2:34, Simon Bull a écrit :


> I have recently started using Michel Fortin's PHP "Markdown Extra"

> implementation to programmatically transform my markdown text files

> into

> HTML. Firstly I'd like to say markdown is very cool -- thanks to

> everyone

> involved :)

>

> I'd also like to suggest two additions to markdown:

>

> 1) I very often use /this/ markdown to indicate emphasis since I

> find it

> much easier to type and read than _this_ or *this*.


Not that you can add it for yourself, but I think Markdown already has
enough syntaxes for emphasis.



> 2) I also use additional setext style headers like this:

>

> Header 1

> XXXXXXXX

>

> Header 2

> xxxxxxxx

>

> Header 3

> ========

>

> Header 4

> ++++++++

>

> Header 5

> --------

>

> Whether or not these suggestions would be a worthwhile addition to the

> markdown syntax is one topic.


One problem with your header syntax is that it's not an addition but a
change from what Markdown currently does. Nothing prevents you from
doing it yourself though.



> Another topic is about how to go about changing Michel Fortin's PHP

> code to

> implement these changes.


Look for the doHeaders function.



> Is this the right forum to discuss such code

> changes?


Sure.


--
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/





More information about the Markdown-Discuss mailing list