Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
DerGoogler committed Jul 2, 2024
1 parent ba1e38c commit 6fe49c5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Website/src/components/Markdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,6 @@ export const Markup = (props: Props) => {
if (paragraph.children[0].type != RuleType.text) return next();
let text = paragraph.children.flatMap((p: any) => p.text).join("");

console.log(text);

let title: string;
let admonitionType: AlertType | null = null;
// A link break after the title is explicitly required by GitHub
Expand All @@ -198,8 +196,6 @@ export const Markup = (props: Props) => {
title = text;
admonitionType = admonitionTypes[title];

console.log(admonitionType);

if (!admonitionType) {
return next();
}
Expand Down Expand Up @@ -228,8 +224,6 @@ export const Markup = (props: Props) => {
title = title.substring(0, title.length - m[0].length);
}

console.log(admonitionType);

admonitionType = admonitionTypes[title];
if (!admonitionType) return next();
// Update the text body to remove the title
Expand Down

0 comments on commit 6fe49c5

Please sign in to comment.