-
Notifications
You must be signed in to change notification settings - Fork 111
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 code snippet #201
base: master
Are you sure you want to change the base?
Add code snippet #201
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this method and use it in other projects.
I particularly like that the code which is used to produced the view is then available to see.
@@ -17,9 +18,6 @@ module.exports = function(defaults) { | |||
behave. You most likely want to be modifying `./index.js` or app's build file | |||
*/ | |||
|
|||
// Import Highlight.js | |||
app.import(app.bowerDirectory + "/highlightjs/highlight.pack.min.js"); | |||
|
|||
app.import(app.bowerDirectory + "/highlightjs/styles/github-gist.css"); | |||
app.import(app.bowerDirectory + "/highlightjs/styles/hybrid.css"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If highlightjs
is gone are these necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Highlightjs is dependency https://github.com/ef4/ember-code-snippet/blob/master/package.json
looks like a good way to do this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please Resolve your conflicts.
This is a proposal to change the way we get the code snippet in the documentation.
What this solves?
This project also use it.
https://github.com/miguelcobain/ember-paper
https://github.com/ef4/ember-code-snippet
If they agree, I can replicate it for all the documentation.