Releases: Machy8/Macdom
Releases · Machy8/Macdom
3.0.0
2.2.0
- Fixes
- macro selector is now replaced correctly
- empty string in replicator is ignored
- macros are detected properly in the replicator
- New
- string can be cleaned from both sides or only from left
- is possible to add blank line on the end of the file
- Other
- Improved coding style
- Renamed variables Elements, Macros, Setup, Replicator - now they start by lowercase letter
2.1.0
New Features
- Script or css tag can by added through shortcut => script.js and style.css
- New core macros - index-follow, no-index-follow
- Added SKIP and SKIP-CONTENT selectors for skipping content
- Is possible to add quick attributes via addQkAttributes()
- Improved code connection in the replicator - by adding ‘|’ you can preserve the trailing space
Other
- Setup - code indentation options are now ‘spaces’, ‘tabs’, ‘combined’ instead of 1-3
- Removed n:href support
- Improved viewport Macro
- Improved output code style
Requirements
- PHP >= 5.4.0
- If you use Nette >= 2.3.0
2.0.0
1.3.0
1.2
1.1
Added
ChangeLog
- Macdom was separated on single components.
- All classes has its own file.
- Elements, elements settings and boolean attributes are now separated.
- Is possible to choose which indent method you want to use.
- Added methods for customization before compilation (is possible to add elements, macros, select indent method...).
- Short selectors for classes are now synchronized with html class attributes.
- Short id selector is now synchronized with html id selector.
- Improved text connectors - text is now connected with a space according to conditions.
Fixed issues
- Detection of no compile area - now is detected even the close tag of no compile area
- Adding close tags before html comments, text and content from no compile area.
For more information visi WIKI