Remote Templates
Markmeld can fetch templates from a remote repository, so you don’t need to maintain local copies.
Template repository
Section titled “Template repository”The official template repository is at databio.org/mm_templates.
Available templates include:
generic.jinja— General-purpose documentmanuscript/— Academic manuscriptsgrant/— Grant proposalsletter/— Lettersbiosketch/— NIH biosketches
Using remote templates
Section titled “Using remote templates”Reference templates by URL in your config:
targets: manuscript: jinja_template: https://databio.org/mm_templates/v1/manuscript/manuscript.jinja output_file: manuscript.pdf data: md_files: content: src/manuscript.mdVersion pinning
Section titled “Version pinning”Use versioned paths to ensure reproducibility:
# Version 1 (stable)jinja_template: https://databio.org/mm_templates/v1/manuscript/manuscript.jinja
# Version 0 (legacy)jinja_template: https://databio.org/mm_templates/v0/manuscript.jinjaLocal caching
Section titled “Local caching”Markmeld caches remote templates locally after the first download. Use --force-refresh to update:
mm manuscript --force-refresh