lecture styling

This commit is contained in:
2025-07-15 13:39:29 -06:00
parent 43ed57e558
commit 2b11106f02
3 changed files with 19 additions and 17 deletions

View File

@@ -23,7 +23,7 @@ const mermaidExtension = {
},
renderer(token: { text: string }) {
const base64 = btoa(token.text);
const url = `https://mermaid.ink/img/${base64}?type=png`
const url = `https://mermaid.ink/img/${base64}?type=svg`
console.log(token.text, url);
return `<img src="${url}" alt="Mermaid diagram" />`;
},