-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
BugSomething isn't working in the vscode extensionSomething isn't working in the vscode extension🎀 ÆstheticThe issue pertains to ÆstheticThe issue pertains to Æsthetic
Description
The format.liquid.forceArgument property splits custom shortcodes in 11ty across multiple lines, which 11ty does not recognize. 11ty only processes shortcodes that are written in a single line.
When adding this tag to the ignoreTagList property, the plugin throws an error expecting a closing tag.
Steps to Reproduce:
- Define multiple-line custom shortcodes with 4 prop's separate by commas.
- Set the format.liquid.forceArgument property to 3.
- Attempt to build the project using 11ty.
- Observe that 11ty does not recognize the multiline shortcodes properly.
Proposed Solution:
- Set format.liquid.forceArgument property to a value higher than the shortcodes contain
- Don't use commas in shortcode.
- Introduce a new property to prevent the splitting of tags across new lines. This property would ensure that tags are kept intact, avoiding issues with shortcode recognition.
I'll create an 11ty issue too. But also need a workaround to exclude tags without closing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugSomething isn't working in the vscode extensionSomething isn't working in the vscode extension🎀 ÆstheticThe issue pertains to ÆstheticThe issue pertains to Æsthetic


