Comments (8)
Hi @jasonhodges,
I am away from a computer right now but version 1.3.0 included a breaking change as marked is no longer automatically imported (see release note).
Did you add marked.js
into your application?
from ngx-markdown.
Hi @jfcere, thanks for the response. I'm not using angular cli so I do not have the config file you referenced in you release notes. I've tried adding marked in several places
from ngx-markdown.
Which module loader are you using for your angular application? (webpack, system.js, ...)
from ngx-markdown.
webpack
from ngx-markdown.
I had a lot of problem getting marked to work with rollup because of typescript when I started to transpile the library to plain Javascript but, giving another shot, I found an issue on Github that provides a workaround.
Please update to v1.3.1 and tell me if it works for you.
Note that marked.js
file doesn't need to be imported manually with this fix (no more breaking change).
from ngx-markdown.
Thanks @jfcere , I will try it out. I did take a look at the update to the component file and see marked included now so I confident it should work.
Do you have a communication method I could chat privately with you through? I have an idea I'd like to run by you.
from ngx-markdown.
Sure, I'll send you an email so you can write to me directly.
from ngx-markdown.
I am closing the issue, feel free to reopen if it is not working correctly.
from ngx-markdown.
Related Issues (20)
- Clipboard button container styling HOT 2
- Update to Angular 17? HOT 4
- need "Standalone" angular component project example HOT 2
- Support standalone components and lazy loading in angular 15+ HOT 5
- Issue with upgrade to ngx-markdown 17 HOT 2
- Clipboard button not working with directive katex HOT 4
- Angular 16 hydration-related issues HOT 8
- not supporting for angular 15 HOT 1
- Marked 11.0.0 support (Error: renderer 'options' does not exist) HOT 6
- How to pass mermaid RunOptions.suppressErrors=false while rendering mermaid component
- angular v17 standalone HOT 2
- Upgrade to Marked 11.1.1+ HOT 1
- Line highlight support in static code blocks
- Embedded Post from Twitter(X) doesn't work properly. HOT 2
- Missing header ids after updating from v16 to v17 HOT 2
- MarkedRenderer stopped working without any changes other than in package.json when going from 13.1 to 16 HOT 3
- Nginx configuration. ERROR Error: renderer 'ɵNgxMarkdownRendererExtendedForExtensions' does not exist HOT 4
- NullInjectorError in angular library project HOT 4
- Draw.io Support
- most simplelest code markdown [src]="'./assets/texts/null.md'" doesn't work for angular 17 standalone HOT 3
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 ngx-markdown.