Skip to content

Conversation

gordonwoodhull
Copy link
Contributor

@gordonwoodhull gordonwoodhull commented Apr 8, 2025

Expose _quarto.modules.brand as quarto.brand.

Add has_mode()

Fixes #12453

cc @mcanouil

@gordonwoodhull gordonwoodhull added this to the v1.7 milestone Apr 8, 2025
@cscheid
Copy link
Collaborator

cscheid commented Apr 8, 2025

Great! Could you add some type definitions? src/resources/lua-types

@gordonwoodhull
Copy link
Contributor Author

gordonwoodhull commented Apr 8, 2025

Types/docs added, and I see them in VSCode popup. 👍

image

@gordonwoodhull gordonwoodhull merged commit 4e5fec8 into main Apr 9, 2025
49 checks passed
@gordonwoodhull gordonwoodhull deleted the bugfix/12453 branch April 9, 2025 10:50
@gordonwoodhull gordonwoodhull mentioned this pull request Apr 15, 2025
49 tasks
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.

Lua API for determining which brand modes are available

2 participants