chore(citations): passthrough options (#1429)
This commit is contained in:
		@@ -21,7 +21,7 @@ export const Citations: QuartzTransformerPlugin<Partial<Options>> = (userOpts) =
 | 
			
		||||
  const opts = { ...defaultOptions, ...userOpts }
 | 
			
		||||
  return {
 | 
			
		||||
    name: "Citations",
 | 
			
		||||
    htmlPlugins() {
 | 
			
		||||
    htmlPlugins(ctx) {
 | 
			
		||||
      const plugins: PluggableList = []
 | 
			
		||||
 | 
			
		||||
      // Add rehype-citation to the list of plugins
 | 
			
		||||
@@ -31,6 +31,8 @@ export const Citations: QuartzTransformerPlugin<Partial<Options>> = (userOpts) =
 | 
			
		||||
          bibliography: opts.bibliographyFile,
 | 
			
		||||
          suppressBibliography: opts.suppressBibliography,
 | 
			
		||||
          linkCitations: opts.linkCitations,
 | 
			
		||||
          csl: opts.csl,
 | 
			
		||||
          lang: ctx.cfg.configuration.locale ?? "en-US",
 | 
			
		||||
        },
 | 
			
		||||
      ])
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user