Deprecated: March 2020
The new syntax has been applied since March, some of old code will be deprecated.
1. Turn-off migration mode for dev
From url of editor, add the param &migration=no
The editor will stop moving the old syntax and display errors with error correction instructions.
2. New CSS Variable
Using global CSS variable for faster and cleaner code. View more detail ๐
style.css
3. Using @print() for inner text only
โUse a formal syntax to print out. View more detail โโ๐
section.lh
4. Use @attr() for attribute
Use @attr() for print out the escaped variable in attribute of HTML . View more detail โโ๐
section.lh
5. Use @lang() for inner text only
Support multiple languages text, It works similar to the function @print()
section.lh
If you love LayoutHub, could you consider posting an review? That would be awesome and really help us to grow our business, here is the link.
Last updated