Skip to content

docs: update to reflect dist folder structure - #12

Open
jimniels wants to merge 1 commit into
davatron5000:mainfrom
jimniels:patch-1
Open

docs: update to reflect dist folder structure#12
jimniels wants to merge 1 commit into
davatron5000:mainfrom
jimniels:patch-1

Conversation

@jimniels

Copy link
Copy Markdown

What does this change?

Was trying to use the remote package and it wasn't working. For example, this was the documented URL for a theme:

https://cdn.jsdelivr.net/npm/microlighter@2/themes/github.css

But that doesn't load anything. It looks like all the assets are in dist so that URL needs to account for that

https://cdn.jsdelivr.net/npm/microlighter@2/dist/themes/github.css

Presumably the ones for node_modules are needed too, as that's how the package is installed?

CleanShot 2026-08-19 at 12 26 07@2x

Checklist

  • npm test passes locally
  • The size budget still passes (note any size impact below)
  • Added/updated tests or the demo (docs/index.html) if behavior changed
  • For a new grammar/theme, followed the steps in CONTRIBUTING.md

@davidbgk

Copy link
Copy Markdown

I was about to propose the same change :)

You probably want to update paths on docs/index.html and docs/custom-element.html too (but only in examples, not in syntax theme selector).

@mb21 mb21 mentioned this pull request Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants