Skip to content
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

source-viewer directive not being applied in descriptions #132

Open
JoshuaHitchins opened this issue Jan 26, 2015 · 3 comments
Open

source-viewer directive not being applied in descriptions #132

JoshuaHitchins opened this issue Jan 26, 2015 · 3 comments

Comments

@JoshuaHitchins
Copy link

Code sections in my @description sections are not properly being formatted. The markdown looks like this:
/**

* ```js

* var someCode;

* ```
*/
And the HTML on the page ends up as follows:

var someCode

with the directive not being applied. This was reproduced in Chrome and Firefox. The "Usage" section of modals however applied the directive as would be expected (I would assume), with

  etc.

burib pushed a commit to burib/docular that referenced this issue Feb 6, 2015
Vertafore/docular-ng-plugin#3
 source-viewer directive not being applied in descriptions
burib pushed a commit to burib/docular-ng-plugin that referenced this issue Feb 6, 2015
Vertafore#3
 source-viewer directive not being applied in descriptions
@jonathan-casarrubias
Copy link

Im still having this issue in version 0.8.14 all the other markup syntax works just fine, bit not showing the code snippets correctly even though I see the directive when I inspect the html page

Im using the same code as below:

apt-get install git || $ brew install git || download installer and execute;
apt-get install nodejs || $ brew install nodejs || download installer and execute;
npm install -g yo;
npm install -g bower;
npm install -g grunt-cli;
npm install -g generator-angular-fulstack;

@burib
Copy link

burib commented Aug 16, 2015

@jonathan-casarrubias could you please create an example of your problem, put it on github, so I can check your case and see if I can do something about it ? thanks.

@cortezcristian
Copy link

Same here it looks like the directive "sourceViewer" is not being called when you are looking at a group content, but as soon as you click "show code" it's being called for the source, never for the group item description. I'll provide a demo as soon as I can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants