-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add Code Highlighting to RemoteContent #3251
base: main
Are you sure you want to change the base?
Add Code Highlighting to RemoteContent #3251
Conversation
import { marked } from 'marked'; | ||
* Remote content fetcher. Remote content is assumed to be markdown. | ||
*/ | ||
import { Markdown } from "astro-remote"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not found, did you include this in the package.json?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my bad @lyleschemmerling I think I installed before I created the new branch.
My concern with this is that this will be at least the third way of parsing markdown into HTML that we have in the site code which is making me a little uneasy. In theory we can do this with what we have already, it just means mucking around in tools yet. And now that I am looking at this I realize that the |
Prior to change
After Change