-
-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
When a base64 encoded image is in the inline markdown it is not rendering. If the same markdown is in external .md file, it works fine
This works
<!doctype html>
<html>
<head>
<script type="module">
import ZeroMd from 'https://cdn.jsdelivr.net/npm/zero-md@3'
customElements.define('zero-md', class extends ZeroMd {
async load() {
await super.load({
katexOptions: {
nonStandard: false
}
})
}
})
</script>
</head>
<body>
<zero-md src="example.md"></zero-md>
</body>
</html>
This doesn't work:
<!doctype html>
<html>
<head>
<script type="module">
import ZeroMd from 'https://cdn.jsdelivr.net/npm/zero-md@3'
customElements.define('zero-md', class extends ZeroMd {
async load() {
await super.load({
katexOptions: {
nonStandard: false
}
})
}
})
</script>
</head>
<body>
<zero-md>
<script type="text/markdown">
<!-- Insert the markdown from example.md here -->
</script>
</zero-md>
</body>
</html>
Please let me know if there is a solution for this.
Thank you,
Metadata
Metadata
Assignees
Labels
No labels