Comments (6)
Are you sure you have included the marked lib? If you are using bower marked should be installed for you into the bower_components directory. It also needs to be added to your index.html (automatic if you are using grunt wiredep or similar).
from angular-marked.
Yes, here is the included code in index.html:
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<!-- AngularJS -->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular-route.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular-resource.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular-animate.min.js"></script>
<!-- Angular Marked -->
<script src="bower_components/angular-marked/angular-marked.js"></script>
<!-- js for blog -->
<script src="js/app.min.js"></script>
And I can find the marked lib by the console:
from angular-marked.
Please read the instructions here: https://github.com/Hypercubed/angular-marked#usage . You need to include the marked library in addition to angular-marked. Most likely you will need to add:
<script src="bower_components/marked/lib/marked.js"></script>
from angular-marked.
Oh, I missed this step, sorry. It works, thank you!
from angular-marked.
No problem.
from angular-marked.
I had the same issue. Thanks
from angular-marked.
Related Issues (20)
- can custom rules be added? HOT 5
- List of all supported Markdown syntax rules HOT 2
- Not able to load json markdown HOT 6
- hljs highlighting not working HOT 4
- Unknown provider: hc.markedProvider HOT 4
- Use of ng-src HOT 4
- Convert scope.marked to String before using it as a string HOT 8
- How to use markdown for a contentful entry HOT 2
- Code blocks indented by tab HOT 1
- HTML tags in markdown are being stripped HOT 3
- Allow setting options per directive instance. HOT 4
- Tables not rendering HOT 3
- Unable to load in angular-seed app
- Could we support Angular2? HOT 4
- emoji not rendering HOT 2
- Replace marked with marked3 HOT 2
- Security issue in marked 0.3.6
- m.Renderer is not a constructor
- Overriding link renderer skips all the security work made by the default renderer
- Change the way `marked` is imported to keep IE11 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-marked.