Skip to content
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

Replace marked namespaces with Marked instance #945

Merged
merged 1 commit into from Jul 17, 2023

Conversation

sebastinez
Copy link
Member

Based on a new addition to marked, this commits replaces the imported marked namespaces with a Marked class, that doesn't change when marked.use introduces new options or extensions.

Also changes the naming slighty to use markdown as module, so it sounds more generic.

Reference: markedjs/marked#2831

Closes #919

@sebastinez sebastinez requested a review from rudolfs July 17, 2023 10:03
@sebastinez sebastinez self-assigned this Jul 17, 2023
@vercel
Copy link

vercel bot commented Jul 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
radicle-interface ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 17, 2023 0:48am

@github-actions
Copy link

github-actions bot commented Jul 17, 2023

Visual diff results for latest changes

✅ There are no visual differences between master and this branch.

Based on a new addition to marked, this commits replaces the imported
marked namespaces with a Marked class, that doesn't change when
`marked.use` introduces new options or extensions.

Also changes the naming slighty to use `markdown` as module, so it
sounds more generic.

Reference: markedjs/marked#2831

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
@rudolfs rudolfs merged commit 69946f5 into master Jul 17, 2023
10 checks passed
@rudolfs rudolfs deleted the sebastinez/address-comments-on-renderer branch July 17, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants