Is it possible to use style tag "type" to define type of inline highlighting such as Less or Sass?
已回答
<style type="text/less"></style>
Right now the only way that would technically work is by doing the following:
<script type="text/less"></script>
The issue with that is that I am using RiotJS and it will barf because it tries to compile it as javascript and not styling.
请先登录再写评论。
Hi there,
This works now (add
rel="stylesheet/less"
):http://stackoverflow.com/a/35345235/783119
Related ticket: https://youtrack.jetbrains.com/issue/WEB-20921