mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-20 11:24:05 -06:00
Fixing code style by running prettier with --write
This commit is contained in:
parent
aa68f18e9d
commit
3bf798b51f
@ -29,9 +29,12 @@ export const Citations: QuartzTransformerPlugin<Partial<Options>> = (userOpts) =
|
|||||||
// https://github.com/citation-style-language/locales
|
// https://github.com/citation-style-language/locales
|
||||||
// thus, we optimistically assume there is indeed an appropriate
|
// thus, we optimistically assume there is indeed an appropriate
|
||||||
// locale available and simply create the lang url-string
|
// locale available and simply create the lang url-string
|
||||||
let lang: string = "en-US";
|
let lang: string = "en-US"
|
||||||
if (ctx.cfg.configuration.locale !== null && ctx.cfg.configuration.locale !== undefined) {
|
if (ctx.cfg.configuration.locale !== null && ctx.cfg.configuration.locale !== undefined) {
|
||||||
lang = "https://raw.githubusercontent.com/citation-style-language/locales/refs/heads/master/locales-" + ctx.cfg.configuration.locale + '.xml';
|
lang =
|
||||||
|
"https://raw.githubusercontent.com/citation-style-language/locales/refs/heads/master/locales-" +
|
||||||
|
ctx.cfg.configuration.locale +
|
||||||
|
".xml"
|
||||||
}
|
}
|
||||||
// Add rehype-citation to the list of plugins
|
// Add rehype-citation to the list of plugins
|
||||||
plugins.push([
|
plugins.push([
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user