Skip to content

[html] support less syntax in html file #59445

@haochenli

Description

@haochenli

For my information, it seems like vscode doesn't support less and sass in html file, so can we make an extensions to support it?

some thing like this:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    **<style lang="less">
        .a {
          width: 200px;
          background-color: #af1b3b;

          .box {
                flex-direction: column;
                justify-content: center;
                align-items: center;
            }
        }
    </style>**
</head>
<body>

</body>
</html>

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityhtmlHTML support issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions