Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced Filter Syntax With Data/Content #87

Closed
hagenburger opened this issue Aug 12, 2014 · 1 comment
Closed

Enhanced Filter Syntax With Data/Content #87

hagenburger opened this issue Aug 12, 2014 · 1 comment
Assignees
Milestone

Comments

@hagenburger
Copy link
Member

@hagenburger hagenburger commented Aug 12, 2014

Additional syntax for filters that supports adding data/content. I’ll publish a blog post about the use cases asap.

Valid examples:

@filter

@filter arguments

@filter argument-1, argument-2, argument-3

@filter
  indented
  data

@filter arguments
  indented
  data

@filter {
data
  in
curly bracket
}

@filter arguments {
data
  in
curly bracket
}

@filter arguments {
data
  { in }
curly bracket
}

@filter arguments {
data
  in }
curly bracket
}

Closing curly bracket must be the first letter of the line.

2 ways to call a filter with data:

@filter arguments {
block
}

// Same as:

@filter arguments
  block
@hagenburger hagenburger added this to the v2.0.0 milestone Aug 12, 2014
@hagenburger hagenburger self-assigned this Aug 12, 2014
@hagenburger
Copy link
Member Author

@hagenburger hagenburger commented Jan 28, 2015

Done in v2.0.0.alpha.1 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant