Add multiline support for variables, fix @markup implementation & update docs #65
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Slowly getting this project up to snuff. Updated the parsing implementation so that it now supports multiline variables (#56). This also fixes multiple
@markup
variables (#54). Along with this change, I've gone ahead and refactored how we provide information/variables to the callback functions passed todss.parser()
. We give you interesting information likethis.line.from
andthis.line.to
which are line numbers associated with the contents of a variable (#53).Documentation had not been touched in a long time, so I've now update it and will cut a new release once I'm happy that all of these changes aren't breaking anything they shouldn't be. The API has changed slightly (as noted above) so I'm a bit torn as to whether I should make this a major release or not (thoughts/opinions welcome).
I may write a custom parser to show how you can address #51, providing support for Jade, Markdown, HAML or whatever language for your @markup example.