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

Comments

Projects
None yet
1 participant
@hagenburger
Member

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

This comment has been minimized.

Member

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