astro-remote

Render remote HTML or Markdown content in Astro with full control over the output

MIT License

Downloads
9K
Stars
176
Committers
5

Bot releases are visible (Hide)

astro-remote - [email protected] Latest Release

Published by github-actions[bot] 6 months ago

Patch Changes

  • 689c819: Fixes an issue with internal getIndent function used for spacing corrections for Markdown
astro-remote - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • 414393d: Fixes an issue with internal dedent function used for spacing/linebreak corrections for Markdown
astro-remote - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • 643ea6f: Updates the README to include a link to NPM
astro-remote - [email protected]

Published by github-actions[bot] over 1 year ago

Patch Changes

  • 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.

astro-remote - [email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • 500f0e4: Fix usage of he module
astro-remote - [email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • 0a9e6a9: Add support for GitHub-style notes and warnings
astro-remote - [email protected]

Published by github-actions[bot] about 2 years ago

Patch Changes

  • Fix encoding issue with custom components
astro-remote - [email protected]

Published by github-actions[bot] about 2 years ago

Minor Changes

  • df3e783: Add support for custom Heading, CodeBlock, and CodeSpan components. Improve documentation.
astro-remote - [email protected]

Published by github-actions[bot] about 2 years ago

Minor Changes

  • af385fd: Updates ultrahtml to latest, fixes some issues with text
Package Rankings
Top 4.76% on Npmjs.org
Badges
Extracted from project README
NPM Version
Related Projects