...
If you use the menuitem macro, menulink macro and menuicon macro a lot, try converting your markup to use the new compound-menuitem macro which can reduce the number of macros used by one thirdtwo thirds (from 3 to 1)!
Expand |
---|
| Click for an example... |
---|
| Click for an example... |
---|
|
A common syntax for a normal menu item would be: Code Block |
---|
{menuitem}{menuicon:house} {menulink:home}Home Page{menulink}{menuitem}
|
The compound version of that link would become: Code Block |
---|
{compound-menuitem:home|icon=house|caption=Home Page}
|
By doing this we've created the menu item using just one macro instead of three.
|
...