-
Notifications
You must be signed in to change notification settings - Fork 31
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
Use global Link component instead of ProjectLink #900
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Visual diff results for latest changes ✅ There are no visual differences between |
559f830
to
940c9fb
Compare
39f55b4
to
730260f
Compare
730260f
to
1226eee
Compare
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.
Really nice idea 👍
Maybe we could also add the extensions and deprecated options we define inside the Renderer
?
Also since we are touching marked, we could maybe also look into using a Marked
instance instead of having different marked
imports, and maybe have a getter for that instance, on which we call parse()
?
/src/components/InlineMarkdown.svelte
11,24: dompurify.sanitize(marked.parseInline(content));
/src/components/Markdown.svelte
55,7: marked.parse(content, {
/src/lib/markdown.ts
96,10: }. ${marked.parseInline(
See: markedjs/marked#2831
Thanks for the review @sebastinez! I'll merge this as is for now and leave the feedback for @geigerzaehler as a follow up: https://github.com/radicle-dev/radicle-interface/issues/919. |
This way we can get rid of the project browsing specific ProjectLink component and simplify the router types. Signed-off-by: Rūdolfs Ošiņš <[email protected]>
Signed-off-by: Thomas Scholtes <[email protected]> Signed-off-by: Rūdolfs Ošiņš <[email protected]>
1226eee
to
74fa05c
Compare
Eliminate remaining
ProjectLink
instances. We want to use the genericLink
component everywhere to keep the router generic.