Skip to content

Allow to set default title in metadata#8

Merged
chdemko merged 1 commit intochdemko:developfrom
ahanak:global-title
Feb 27, 2026
Merged

Allow to set default title in metadata#8
chdemko merged 1 commit intochdemko:developfrom
ahanak:global-title

Conversation

@ahanak
Copy link
Contributor

@ahanak ahanak commented Feb 27, 2026

Allow to set the default title for each metadata block.
This allows to omit the title when creating divs.

My use case:

---
pandoc-beamer-block:
  - classes: [good]
    type: example
    title: "Good Code"
  - classes: [bad]
    type: alert
    title: "Bad Code"
---

::: bad :::
Some Negative Example
:::

::: good :::
Some Positive Example
:::

Please note that I disabled pre-commit hooks as I wanted to keep that PR simple. If you want, I can include the modified uv.lock file and fix the import order in docs/conf.py.

Allow to set the default title for each metadata block.
This allows to omit the title when creating divs.
chdemko added a commit that referenced this pull request Feb 27, 2026
@chdemko chdemko merged commit e412a37 into chdemko:develop Feb 27, 2026
7 of 25 checks passed
@chdemko
Copy link
Owner

chdemko commented Feb 27, 2026

Thanks for this PR. It's very usefull I think

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