Skip to content

Commit

Permalink
fix(site-2): Remove marked warnings (#8574)
Browse files Browse the repository at this point in the history
  • Loading branch information
PuruVJ authored May 10, 2023
1 parent 3b4ab35 commit b9ea60c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sites/svelte.dev/src/lib/server/markdown/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ const default_renderer = {
*/
export function transform(markdown, renderer = {}) {
marked.use({
mangle: false,
headerIds: false,
renderer: {
// we have to jump through these hoops because of marked's API design choices —
// options are global, and merged in confusing ways. You can't do e.g.
Expand Down

1 comment on commit b9ea60c

@vercel
Copy link

@vercel vercel bot commented on b9ea60c May 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

svelte-dev-2 – ./

svelte-dev-2-git-sites-svelte.vercel.app
svelte-dev-2.vercel.app
svelte-dev-2-svelte.vercel.app

Please sign in to comment.