Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add headless reference package #1250

Open
felixroos opened this issue Jan 24, 2025 · 0 comments
Open

add headless reference package #1250

felixroos opened this issue Jan 24, 2025 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@felixroos
Copy link
Collaborator

the doc.json is the basis for the reference. it is used in the reference sidebar, the docs, the autocomplete and the tooltips. it would be useful if it could be used via a package, e.g. to implement an autocomplete or a custom reference elsewhere (e.g. nudel).
so far, the codemirror autocomplete and tooltip are not exported from the @strudel/codemirror package, because the doc.json file is almost half a megabyte large. i wouldn't add that to the codemirror package by default, so maybe there should be a @strudel/reference package that exports the doc.json + maybe some helpers to work with it.

@felixroos felixroos added the documentation Improvements or additions to documentation label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant