HTML Attributes Implementation #37
Replies: 1 comment
-
PMLC works like this:
Yes, as said already, PMLC does not handle the full list of all the possible HTML attributes. Note: I've just added the following sentence at the end of chapter HTML attributes (will be included in version 3.0.0): "PMLC does not check if an HTML attribute is valid."
Yes, I think that |
Beta Was this translation helpful? Give feedback.
-
@pml-lang, I need some help implementing HTML attributes support.
I'm not quite sure about various choices here, because this element can be found in many forms. So, here are some questions:
html_
prefix, what characters set should I expect? Just lowercase or also uppercase? Underscore and/or hyphens?style
,class
, etc., might be worth capturing with a specific context. E.g. forstyle
some CSS highlighting might be used. Which are the attributes that are worth covering with a dedicated context?Obviously, if the package is able to track some of these attributes it could also mean that in the future it will allow dedicated features for working upon them — e.g. refactoring class names with
html_class
, etc. Hence my questions, since I'm trying to understand the full potential of PML's support for HTML attributes and what is your vision about this element.Do you have any advice an suggestions in this respect?
Reference Links
Beta Was this translation helpful? Give feedback.
All reactions