Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special attributes #16

Open
jenssegers opened this issue Nov 28, 2013 · 6 comments
Open

Special attributes #16

jenssegers opened this issue Nov 28, 2013 · 6 comments
Assignees
Labels
Milestone

Comments

@jenssegers
Copy link

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

@kzykhys
Copy link
Owner

kzykhys commented Nov 28, 2013

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

@kzykhys
Copy link
Owner

kzykhys commented Nov 28, 2013

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
Copy link
Contributor

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
Copy link

hason commented Nov 29, 2013

👍 for emmet style

@Pym
Copy link

Pym commented Dec 11, 2013

👍 for emmet!

@kzykhys and thank you for this amazing library!

kzykhys added a commit that referenced this issue Jan 24, 2014
* Emmet style HTML attributes inside a curly braces
* Related Ticket is #16

See test/Ciconia/Resources/html/* to get the usage
@ghost ghost assigned kzykhys Jan 24, 2014
@kzykhys
Copy link
Owner

kzykhys commented Jan 24, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants