myst-to-jats
Version:
Export from MyST Markdown to JATS
15 lines • 671 B
TypeScript
import type { PageFrontmatter } from 'myst-frontmatter';
/**
* Replace ids of affiliations associated with authors
*
* This does not change the ids of affiliations that are
* not referenced anywhere or only referenced in funding,
* as those ids do not come through to JATS.
*
* Also, it treats each frontmatter separately, so if one
* affiliation appears in multiple articles/sub-articles,
* it will be given a different id for each and be part
* of the JATS frontmatter for each.
*/
export declare function affiliationIdTransform(frontmatters: PageFrontmatter[], idPrefix: string | ((count: number) => string)): void;
//# sourceMappingURL=frontmatter.d.ts.map