Skip to content

Conversation

@glenrobson
Copy link
Member

@glenrobson glenrobson commented Jan 14, 2026

I've vibe coded a ruby plugin to import a full IIIF manifest and only show a snippet when you supply the line numbers. You can see an example under Timeline in the spec:

https://preview.iiif.io/api/p4_json_examples/presentation/4.0/#timeline

The markdown looks as follows:

{% include code_example.html src="02_timeline.json" from=11 to=35 %}

Note the JSON must be formatted and stored in the source/presentation/4.0/example directory.

@glenrobson glenrobson merged commit 9098b57 into p4_model_links_styling Jan 14, 2026
1 of 2 checks passed
@glenrobson glenrobson deleted the p4_json_examples branch January 14, 2026 18:40
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.

2 participants