Repository navigation
add script for extracting code blocks - #589
Merged
Merged
Conversation
|
This would help addressing #579. I would use this to then pipe those files to |
|
I used this to programmatically verify consistent quotes in the JavaScript blocks and think it could work well to automate checking the coding style. It might be feasible to pass the code block to babel to check for syntax errors. |
mansona
force-pushed
the
extract-code-script
branch
from
March 27, 2019 16:49
137701b to
b9faa11
Compare
jenweber
self-requested a review
March 27, 2019 17:13
jenweber
approved these changes
Mar 27, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I don't know how useful this would be going forward but if we want to have it available we could think about merging this in some way 🤔 I think for now we should leave this PR open and decide what to do with it in a more general way later 👍
If anyone wants to use this script in another branch you can just run the following:
And then you can run:
and it will export all of the code samples into a
codedirectory