Render remote HTML or Markdown content in Astro with full control over the output
MIT License
Bot releases are visible (Hide)
getIndent
function used for spacing corrections for Markdown
Published by github-actions[bot] 8 months ago
dedent
function used for spacing/linebreak corrections for Markdown
Published by github-actions[bot] 8 months ago
Published by github-actions[bot] over 1 year ago
7fe62d9: he
breaks vite, replace with entities
When using CodeBlock / CodeSpan.
Stack trace:
TypeError: __vite_ssr_import_5__.encode is not a function
Please report this to https://github.com/markedjs/marked.
at renderer.code (/.../web-garden/themes/simple-docs/node_modules/.pnpm/[email protected]/node_modules/astro-remote/lib/utils.ts:76:60)
at renderer.<computed> [as code] (/.../web-garden/themes/simple-docs/node_modules/.pnpm/[email protected]/node_modules/astro-remote/node_modules/marked/lib/marked.esm.js:2751:41)
at Parser.parse (/.../web-garden/themes/simple-docs/node_modules/.pnpm/[email protected]/node_modules/astro-remote/node_modules/marked/lib/marked.esm.js:2277:32)
at parse (/.../web-garden/themes/simple-docs/node_modules/.pnpm/[email protected]/node_modules/astro-remote/node_modules/marked/lib/marked.esm.js:2211:19)
at eval (/.../web-garden/themes/simple-docs/node_modules/.pnpm/[email protected]/node_modules/astro-remote/node_modules/marked/lib/marked.esm.js:2644:18)
at Function.marked [as parse] (/.../web-garden/themes/simple-docs/node_modules/.pnpm/[email protected]/node_modules/astro-remote/node_modules/marked/lib/marked.esm.js:2659:48)
at Module.markdown (/.../web-garden/themes/simple-docs/node_modules/.pnpm/[email protected]/node_modules/astro-remote/lib/utils.ts:92:54)
at eval (/.../web-garden/themes/simple-docs/node_modules/.pnpm/[email protected]/node_modules/astro-remote/lib/Markdown.astro:17:47)
at AstroComponentInstance.Markdown [as factory] (/.../astro-openapi/node_modules/.pnpm/[email protected]/node_modules/astro/dist/runtime/server/astro-component.js:22:12)
at AstroComponentInstance.init (/.../astro-openapi/node_modules/.pnpm/[email protected]/node_modules/astro/dist/runtime/server/render/astro/instance.js:28:29)
entities
is typed, and more updated / speedy.
Need more tests though.
Published by github-actions[bot] about 2 years ago
he
modulePublished by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
ultrahtml
to latest, fixes some issues with text