celian-rib / vscode-webvalidation-extension

VSCode extension that let you check if an HTML or CSS file respect the W3C standards.
https://marketplace.visualstudio.com/items?itemName=CelianRiboulet.webvalidator
MIT License
24 stars 3 forks source link

Can the extension be made to check php pages too? #15

Closed pboulton closed 2 years ago

pboulton commented 3 years ago

The validator at https://validator.w3.org/ allows php pages to be checked for html validation but your VSCode extension says "Not an html or css file". Is there any way your extension could be tweaked to allow validation of the html content of php files?

Thanks!

Pete

celian-rib commented 3 years ago

@pboulton The w3c validator accept only these types of files : image

And yet only html and css are implemented in the extension. I guess you are talking about the generated html or xhtml I will need to take a deeper look into php :)