-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add EXAMPLE, SOURCE, and CODE blocks #73
Labels
enhancement
Improvement or suggestion
PR / Bounty only
External demand, as such, external funding / effort is required to make this happen
Comments
balupton
changed the title
Add <!-- EXAMPLE --> that will output the source and result of the example file
add EXAMPLE, SOURCE, and CODE blocks
Sep 17, 2016
/cc @mcollina - this is the feature I was telling you about, will do it within the next 1-4 weeks |
Just published up https://github.com/bevry/ropo which can be a foundation for this Details at https://twitter.com/balupton/status/1006070544871985153 |
balupton
changed the title
add EXAMPLE, SOURCE, and CODE blocks
Add EXAMPLE, SOURCE, and CODE blocks
Dec 10, 2018
balupton
added
the
PR / Bounty only
External demand, as such, external funding / effort is required to make this happen
label
Dec 10, 2018
Live code running services like asciinema, scrimba, and a bunch of others seem to do this better |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
Improvement or suggestion
PR / Bounty only
External demand, as such, external funding / effort is required to make this happen
<!-- EXAMPLE[./example.js] -->
will output the file in a syntax code block, and replacesrequire('./')
withrequire('the-package-name')
- useful for including example code files<!-- CODE[./input.js] -->
will output the file in a syntax highlighted code block - useful for including code files<!-- SOURCE[./output.md] -->
will output the file as is, no code block wrapper - useful for including markdown and HTML filesThe text was updated successfully, but these errors were encountered: