Closed asinghvi17 closed 4 weeks ago
@lazarusA you might be interested in examples/basic.jl and docs/example_meta_block.jl here - they have a first prototype for in-code evaluation of an example's metadata (title, description, cover) which we can forward to the Gallery prototype here. (Just have to figure out how to embed/downsize the image now :D)
TODOs for the next PR:
@cardmeta
block rewrite the page to add the cover image directly after the first title elementGALLERY_DICT
Cover = fig
, without the user having to write it...
https://geo.makie.org/previews/PR233 The metadata framework doesn't apply to anything yet, but it should do so quite soon! I will have to guard against garbage collection somehow, though. Maybe by setting the value of
cover
to the relevant module?The actual implementation will come in the next PR.