Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listitem render hook #9858

Open
wants to merge 28 commits into
base: master
Choose a base branch
from

Conversation

alexanderhansen
Copy link

I needed a way to render lists and list items for different output formats.

I'm writing a food blog and wrote the recipes directly in json-ld format first and used the JSON as input for my template. This has some drawbacks. I use the image processing quite extensively and that's something that couldn't be used in this scenario. Also google recently changed the way json-ld is accepted with sub-recipes so I decided to instead write my recipes in markdown (with the help of some shortcakes) and render them to html and json-ld, so that I can react to changes with a simple edit of my templates.

But this required the list and especially listitem hooks provided in this PR.

@bep bep added the Proposal label May 6, 2022
@bep bep added this to the v0.99.0 milestone May 6, 2022
@bep bep modified the milestones: v0.99.0, v0.100.0 May 24, 2022
@bep bep modified the milestones: v0.100.0, v0.101.0 May 31, 2022
@bep bep removed this from the v0.101.0 milestone Jun 16, 2022
@bep bep modified the milestones: v0.111.0, v0.112.0 Feb 15, 2023
@bep bep modified the milestones: v0.112.0, v0.113.0 Apr 15, 2023
@bep bep modified the milestones: v0.113.0, v0.115.0 Jun 13, 2023
@bep bep modified the milestones: v0.115.0, v0.116.0 Jun 30, 2023
@bep bep modified the milestones: v0.116.0, v0.117.0 Aug 1, 2023
@bep bep modified the milestones: v0.117.0, v0.118.0 Aug 30, 2023
@bep bep modified the milestones: v0.118.0, v0.119.0 Sep 15, 2023
@bep bep modified the milestones: v0.119.0, v0.120.0 Oct 5, 2023
@bep bep modified the milestones: v0.120.0, v0.121.0 Oct 31, 2023
@bep bep modified the milestones: v0.121.0, v0.122.0 Dec 6, 2023
@bep bep modified the milestones: v0.122.0, v0.123.0, v0.124.0 Jan 27, 2024
@bep bep modified the milestones: v0.124.0, v0.125.0 Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants