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 a way to specify the ClusterMode of a previewed cluster #119

Closed
cormacrelf opened this issue Jul 2, 2021 · 1 comment · Fixed by #141
Closed

Add a way to specify the ClusterMode of a previewed cluster #119

cormacrelf opened this issue Jul 2, 2021 · 1 comment · Fixed by #141
Labels
A-crates/citeproc Area: citeproc crate A-wasm Area: wasm package on npm breaking Breaking change enhancement New feature or request

Comments

@cormacrelf
Copy link
Collaborator

To be clear the cite-level ones, e.g. { id: "jones2006", prefix: "see their other work", mode: "SuppressAuthor" } currently work from the previewCitationCluster API, simply add a mode flag to any cite that you're passing in. It is only the cluster level flags { id: "cluster-one", cites: [...], mode: "Composite" } that aren't yet exposed there. To get that, I'll have to add a parameter to let you supply the preview cluster's cluster mode.

Originally posted by @cormacrelf in #117 (comment)

@cormacrelf
Copy link
Collaborator Author

Added in #121, wasm will require a breaking change too, I'll do that separately.

@cormacrelf cormacrelf added A-crates/citeproc Area: citeproc crate A-wasm Area: wasm package on npm breaking Breaking change enhancement New feature or request labels Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-crates/citeproc Area: citeproc crate A-wasm Area: wasm package on npm breaking Breaking change enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

1 participant