Comments (5)
I have the same issue using this form as well:
<markdown> ```typescript {{ base31x }} ``` </markdown>
And just for clarity, I think it must be a long-standing issue, because I had the same issue with ng-markdown-to-html. I upgraded to ngx-markdown hoping to eliminate the problem.
from ngx-markdown.
Hi @rich-saul,
Thanks for reporting the issue, I was not aware of this problem before today.
I'll have to investigate and come back to you.
from ngx-markdown.
I'm not certain, this may be something to do with prismjs, and not specifically ngx-markdown. I followed prismjs' install instructions to use it directly, and I get the same effect bypassing ngx-markdown. I'm using the following markup for prismjs:
<pre> <code class="language-typescript"> {{ base31x }} </code> </pre>
I see the same flash from highlighted back to unhighlighted.
If you can possibly confirm that you're not having this issue with prismjs, I'll close this issue and figure out what's wrong with my config.
from ngx-markdown.
@rich-saul it does not seems to be an issue with ngx-markdown because the plunker example uses typescript highlight and works fine.
Could it be related to the use of ngx-clipboard? I would suggest trying an example without it to see if it affects syntax highlight or not.
If you have an available repository I can look into that would be helpful as well.
from ngx-markdown.
Closing the issue. If there is any new development or anything don't hesitate.
from ngx-markdown.
Related Issues (20)
- Apply font color to list in ngx markdown
- How to stop HTML parsing in ngx-markdown ? HOT 2
- Putting a markdown image inside markup tags causes odd rendering behavior HOT 1
- 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
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.