Repository navigation
Explain front matter extraction and HTML rendering - #154
Merged
chrisjsewell merged 3 commits intoNov 9, 2026
Merged
chrisjsewell merged 3 commits into
chrisjsewell merged 3 commits into
Conversation
chrisjsewell
added a commit
that referenced
this pull request
Nov 10, 2026
Brings in #148, #138, #153, #157, #149, #152, #154, #158, #159, #161, #162. Conflicts: - attrs/index.py: #153 merges inline classes from the opening token (attr_token), #150 passes state.md to _add_attrs; both kept. - tests/test_attrs.py, tests/test_texmath.py: both sides' tests kept. Adds test_class_accumulation_is_filtered: classes merged across inline groups (onto the opening token) and across stacked block attributes still pass through the on*, URL and allowed filters.
Member
|
Merged in 4fc4d4b, thanks @Gonghan-Princess! Before merging I pushed one commit that removed the CHANGELOG entry: for this release all the entries are written in the release PR, so contributor PRs don't conflict with one another. Nothing else changed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #133.
Add a runnable front-matter recipe that registers the plugin, parses Markdown once, extracts the hidden front_matter token's text, and renders the same tokens into HTML using the same environment. Show optional YAML post-processing with PyYAML, distinguish missing and empty metadata, and explain placement of the opening delimiter.
The example includes assertions for the extracted metadata and actual rendered HTML. No runtime code or dependency declarations change. The changelog entry follows AGENTS.md.
Validation on Windows / Python 3.12.10:
AI disclosure: OpenAI Codex prepared the documentation and verification. No human review is claimed. No third-party source code was copied.