Skip to content

feat: add @:text, @:cdata, @:comment to array syntax#69

Open
guillaumedelre wants to merge 1 commit into
downforcetech:mainfrom
guillaumedelre:feature/issue-23
Open

feat: add @:text, @:cdata, @:comment to array syntax#69
guillaumedelre wants to merge 1 commit into
downforcetech:mainfrom
guillaumedelre:feature/issue-23

Conversation

@guillaumedelre
Copy link
Copy Markdown

The @ special key already sets text content in the concise array syntax. This extends it with typed variants:

  • @:text — explicit alias for @
  • @:cdata — wraps content in a CDATA section
  • @:comment — inserts an XML comment

Closes #23

The @ special key already sets text content in the concise array
syntax. This extends it with typed variants:
  - @:text   — explicit alias for @
  - @:cdata  — wraps content in a CDATA section
  - @:comment — inserts an XML comment

Closes downforcetech#23

Signed-off-by: Guillaume Delré <delre.guillaume@gmail.com>
@guillaumedelre
Copy link
Copy Markdown
Author

Hey @daniele-orlando, this PR fixes #23 — happy to adjust if anything looks off.

@guillaumedelre
Copy link
Copy Markdown
Author

Hey @daniele-orlando, pinging in case this slipped through. Open to feedback if something looks off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Idea: Support data type when using concise syntax

1 participant