-
Notifications
You must be signed in to change notification settings - Fork 41
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
Allow variables as parameters #4
Conversation
|
This LGTM, besides the deprecation above. |
I'm Googling... |
I found |
of course they wouldn't line up with hashes..... |
So |
yeah. inconsistent with Ruby's current state. |
eep, you're too fast for me if context[gist_id] Should I change this back to if context.has_key?(gist_id) ❔ |
uh yeah I guess. it'll be faster. sorry, i didn't realize that you changed anything. |
New pull request? |
👍 |
This will first check to see if the passed parameters exist in
context
and, if so, substitute those values in place of the parameter.This allows specifying things like the Gist ID in a pages front matter.
Added test, but no docs.
Fixes #2