Skip to content

introduce --autobackmatter #214

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

Merged
merged 1 commit into from
Feb 23, 2025
Merged

introduce --autobackmatter #214

merged 1 commit into from
Feb 23, 2025

Conversation

chrisfenner
Copy link
Member

This change introduces a new flag --noautobackmatter, that controls the automatic insertion of the back
matter into a spec so that spec writers don't have to include the following at the end of their specs:

\beginbackmatter

# References

::: {#refs}
:::

Auto backmatter is enabled by default, but it can be disabled with --noautobackmatter.

The references section is only included if there is a bibliography: tag in the YAML front matter of the markdown file.

This change introduces a new flag --noautobackmatter, that
controls the automatic insertion of the back
matter into a spec so that spec writers don't have to include the
following at the end of their specs:

\beginbackmatter

\# References

::: {#refs}
:::

Auto backmatter is enabled by default, but it can be disabled with
--noautobackmatter.

The references section is only included if there is a bibliography: tag
in the YAML front matter of the markdown file.
@chrisfenner
Copy link
Member Author

FYI @eckelmeckel I'm going to go ahead and merge this so I can prototype the usage of the new references system with the TPM spec (thanks again for contributing that) -- if you see any issue with this flag please let me know and I'll do my best to resolve.

@chrisfenner chrisfenner merged commit 9fe640d into main Feb 23, 2025
2 checks passed
@chrisfenner chrisfenner deleted the auto-backmatter branch February 23, 2025 19: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.

1 participant