kzykhys / Ciconia

A New Markdown parser for PHP5.4
http://ciconia.kzykhys.com/
MIT License
355 stars 31 forks source link

Special attributes #16

Open jenssegers opened 10 years ago

jenssegers commented 10 years ago

Any chance this could be implemented? http://michelf.ca/projects/php-markdown/extra/#spe-attr

kzykhys commented 10 years ago

I will consider your suggestion. but it might not be a part of 1.0 branch or this repository.

kzykhys commented 10 years ago

Or emmet style?

header {#id.class1.class2[data-something="foo",aria-hidden="true"]}
=====
<h1 id="id" class="class1 class2" data-something="foo" aria-hidden="true">header</h1>
joelcuevas commented 10 years ago

Probably the only practical difference between the two styles are the blank spaces —correct me if I'm wrong—, but I think emmet style looks cleaner. BTW, plus one for this feature. ;)

hason commented 10 years ago

:+1: for emmet style

Pym commented 10 years ago

:+1: for emmet!

@kzykhys and thank you for this amazing library!

kzykhys commented 10 years ago

Details: https://github.com/kzykhys/Ciconia/issues/milestones