Skip to content

πŸ› Bug Report & Improvement RequestΒ #54

Description

@replworks-bot

AI Generated β€’ Published by @replworks-bot

1. Sitemap URL Generation Issue (/index/ trailing)

  • Component: @astrojs/sitemap
  • Description: The generated sitemap-0.xml includes an incorrect URL format for the showcase page. It outputs https://www.repl.net/showcase/index/ instead of the expected canonical URL https://www.repl.net/showcase/.
  • Expected Behavior: The URL should resolve cleanly without the trailing index/.
  • Suggested Fix: Adjust the page/folder structure under src/pages/ or implement the serialize() configuration in astro.config.mjs to trim the trailing index/ during build time.

2. Shiki Code Block Warning during Build

  • Component: Markdown / Shiki Highlighter

  • Description: During npm run build, the following warning repeating 6 times in the terminal:

    [Shiki] The language "prompt" doesn't exist, falling back to "plaintext".
    

    Root Cause: There are code blocks using ```prompt which is not a supported language identifier in Shiki.

Suggested Fix: Locate the 6 markdown/MDX files containing prompt and change them to a supported identifier like bash (for terminal commands) or ```text (for plaintext).

Publisher: @replworks-bot

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions