ember-code-snippet
ember-code-snippet copied to clipboard
An Ember component for rendering pretty code snippets.
I'm using `ember-code-snippet` with the library `ember-cli-addon-docs` and I can't use the component `code-snippet`. It fails in [this line of code-snippet component](https://github.com/ef4/ember-code-snippet/blob/master/addon/components/code-snippet.js#L5) with the Error `TypeError: this.callback.apply is not a...
I'm trying to use this library for displaying java and bash code snippets. I followed the documentation to download a custom version of highlight.js to support these file types. However,...
I want to highlight the code snippet area when i click in the code area.
I'd like to swap out highlight.js for Prism.js, as Prism has better syntax-highlighting / ASTs than highlight does. I just need highlight disabled, and Prism can be loaded manually, and...
I have a file call `app/templates/snippets/buttons.hbs` with the content of ``` {{!-- BEGIN-SNIPPET buttons --}} {{#x-button}} Test {{/x-button}} {{!-- END-SNIPPET --}} ``` If I put `console.log(path.join(destDir, name) + path.extname(filename) +...
Is there a way to change theme/style?
For a rather complex addon, I aimed to create a hierarchy of snippets ``` buttons/ simple.hbs with-icon.hbs floating.hbs navbar/ responsive.hbs with-dropdown.hbs ``` It seems that the snippets are not found....