Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将下面的html翻译成玉
<div id="app" ng-app="myApp" class="{@ .CSS @}">
htm2jade 给了
#app.{@..CSS.@}(ng-app='myApp')
bur 玉将其渲染为
<div id="app">.{@..CSS.@}(ng-app='myApp')
我如何将 html 的第一行表示为玉。
谢谢。
非标识符类名可以包含在属性中:
#app(class='{@ .CSS @}', ng-app='myApp')
它们将与任何“选择器”名称组合:
#app.foo-bar(class='{@ .CSS @}', ng-app='myApp')
<div id="app" ng-app="myApp" class="foo-bar {@ .CSS @}"></div>