A DML Block starts and ends with <dys-block>. After that comes one or more <dys-row>, containing one or more <dys-column>. Your content will sit inside the columns.
Multiple columns in a row will automatically be:
Check the DML Documentation to see full details!
Your template’s contents will be contained inside of elements nested inside of a dys-column. The most basic elements are:
Check out the DML Documentation to see a full list of attributes that can be used to customize each of these elements
One of the benefits of DML is the ability to edit your block content without touching the underlying code when building a template. Use these attributes to define what content can be changed in the template editor:
Check out this sample block in the DML Playground to see the DML we’ve covered so far in action.
With the editable fields set in this example, this is what you would see if you were editing this block in a template:
This example block is also a good opportunity to practice modifying these elements. Some things to try include: