diff --git a/docs/Attributes.md b/docs/Attributes.md index ac221d6..d69226f 100644 --- a/docs/Attributes.md +++ b/docs/Attributes.md @@ -1,5 +1,11 @@ # Attributes +| dj-assets | Modify the "href" or "src" attributes of elements with a path prefix and wrap them in a Django static command. | +|----------------|----------------------------------------------------------------------------------------------------------------| +| Syntax | `...` | +| Example Input | `` | +| Example Output | `` | + | dj-attr | Dynamically assign attributes using Django template variables. | |----------------|---------------------------------------------------------------------------------------| | Syntax | `` | @@ -43,18 +49,24 @@ | Example Input | `
` | | Example Output | `{% include "template_name.html" %}` | -| dj-remove-default | Removing the Doctype, "head" element, and "script" element within the "body" element. It also unwraps the "body" and "html" elements, leaving only the remaining content of the "body" element. | -|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| Syntax | `...` | -| Note | This is meant to remove all the default html wrapper code most static html generators produce. | -| Example Input | `...Content` | -| Example Output | `Content` | +| dj-remove-default | Remove the Doctype, "head" element, and "script" element within the "body" element. It also unwraps the "body" and "html" elements, leaving only the remaining content of the "body" element. | +|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Syntax | `...` | +| Note | This is meant to remove all the default html wrapper code most static html generators produce. | +| Example Input | `...Content` | +| Example Output | `Content` | + +| dj-remove | Remove the element. | +|----------------|---------------------------------| +| Syntax | `` | +| Example Input | `

` | +| Example Output | ` ` | | dj-static | Replace the value of the specified tag with a Django template static command, using the specified static file path. | |----------------|---------------------------------------------------------------------------------------------------------------------| | Syntax | `` | | Example Input | `` | -| Example Output | `` | +| Example Output | `` | | dj-style | Modify the style attribute of a element with django variables. | |----------------|--------------------------------------------------------------------------------------------|