Skip to content

Add letterloom-typst template#58

Merged
rowanc1 merged 1 commit into
myst-templates:mainfrom
stefanv:letterloom-typst
Mar 12, 2026
Merged

Add letterloom-typst template#58
rowanc1 merged 1 commit into
myst-templates:mainfrom
stefanv:letterloom-typst

Conversation

@stefanv

@stefanv stefanv commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

Letter screenshot

@rowanc1
rowanc1 merged commit 2f787d8 into myst-templates:main Mar 12, 2026
4 checks passed
@rowanc1

rowanc1 commented Mar 12, 2026

Copy link
Copy Markdown
Member

Looks awesome!!

@fperez

fperez commented Jul 19, 2026

Copy link
Copy Markdown

Quick q - I see this is merged, but I tried to use it by declaring the template (as suggested in the README) and it didn't work. It's fine with a local copy, but I thought give the merge is from back in March, it ought to work by now... Am I missing something?

Thx for this really nice one!

@stefanv

stefanv commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

The API server is not returning any typst templates at the moment, so that's definitely a problem.

@rowanc1

rowanc1 commented Jul 20, 2026

Copy link
Copy Markdown
Member

It is there?
https://api.mystmd.org/templates/typst

You likely have to specify the format as typst though in your myst.yml or export.

@stefanv

stefanv commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Yes, it is now; did you redeploy? I couldn't access that URL the other day (and I presumed that that was why Fernando couldn't build). But I was on mobile midst travel, so could be that I had the URL wrong.

@rowanc1

rowanc1 commented Jul 20, 2026

Copy link
Copy Markdown
Member

No, didn't change anything!

I do think you need the format defined (something we could improve); so I suspect that is the reason it didn't work previously. It does work from CLI as well:

image

@stefanv

stefanv commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

The example from the repo, that I presumed Fernando followed, is: https://raw.githubusercontent.com/stefanv/myst-typst-letterloom/refs/heads/main/example/letter.md

@fperez

fperez commented Jul 21, 2026

Copy link
Copy Markdown

Still getting the error, maybe I'm not specifying it correctly? But assuming it's been merged, I'm putting in the myst file frontmatter template: letterloom-typst, and I get:

🔍 Querying template metadata from https://api.mystmd.org/templates/typst/myst/letterloom-typst
Error: Problem with template link "https://api.mystmd.org/templates/typst/myst/letterloom-typst": 404 Not Found

To list valid templates, try the command "myst templates list"

@rowanc1

rowanc1 commented Jul 21, 2026

Copy link
Copy Markdown
Member

The id is: "stefanv/letterloom-typst", looks like you are missing the stefanv.

@stefanv

stefanv commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

I'm happy to change the ID to something more generic. I can also update the example now.

@fperez

fperez commented Jul 21, 2026

Copy link
Copy Markdown

Ah! @stefanv, the README says to just use letterloom-typst to identify the template, so I'd assumed that once merged/published, the stefanv part wouldn't apply...

That would be useful to clarify, I didn't realize there would basically be user-gated namespaces for templates.

I can confirm that once I added the stefanv/ part, the build works fine! Thanks much :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants