question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support class sorting for not native HTML attributes & syntax

See original GitHub issue

<div class="{localStorage.theme === 'dark' ? 'dark' : 'light'} flex flex-col min-h-100vh overflow-y-hidden">

to be fixed in https://github.com/windicss/windicss-intellisense/blob/3c9b378a4d6269cf9a26797e53382cdbe2f84176/src/utils/filetypes.ts#L1-L5

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
antfucommented, Mar 17, 2021
/class=(["'])([^\1]*)\1/gm

This might work, but you will need to also change the matching group image

Read more comments on GitHub >

github_iconTop Results From Across the Web

<table>: The Table element - HTML - MDN Web Docs - Mozilla
The HTML element represents tabular data — that is, ... There are no native methods for sorting the rows ( <tr> elements) of...
Read more >
How You Can Use HTML5 Custom Data Attributes and Why
Gajendar Singh walks you through HTML5 custom data attributes, why they're useful, how to style them with CSS and manipulate them with ...
Read more >
HTML5 Custom Data Attributes (data-*) | HTML5 Doctor
Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes...
Read more >
How To Sort a Table - W3Schools
Learn how to sort an HTML table, using JavaScript. Click the button to sort the table alphabetically, based on customer name: Sort. Name,...
Read more >
VS Code Extensions for HTML | CSS-Tricks
Not specific to HTML, but if like this sort of help with matching things, ... For example, it breaks HTML attributes onto single...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found