You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This default is used for any tag that's not passed its own context, allowing specificity for those elements that need it while preventing the tag from breaking when it's not structural to the component.
27
27
28
-
#### Limitation
29
-
Currently this feature only supports providing a default for the output of the tag, this does not support modifying context in templates such as {% an_example_tag page.url as example_variable %}.
28
+
### Limitation
29
+
30
+
Currently this feature only supports providing a default for the output of the tag, this does not support modifying context in templates such as `{% an_example_tag page.url as example_variable %}`.
31
+
30
32
### When do I need to override a template tag?
31
33
32
34
Ideally your pattern library should be independent, so it doesn't fail when
Copy file name to clipboardExpand all lines: docs/reference/known-issues.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Known issues
1
+
# Known issues and limitations
2
2
3
3
django-pattern-library has a few known limitations due to its design, which are worth knowing about when authoring templates or attempting to document them in the pattern library.
0 commit comments