Open
Conversation
6 tasks
f3d5710 to
71a30f5
Compare
Ship a Markpub parser (at.markpub.markdown) as the default content parser, registered via the atmosphere_content_parser filter. - Add Markpub class that walks Gutenberg blocks via parse_blocks() and converts each to GFM markdown. - Register Markpub as the default parser in Atmosphere::init(). - Add tests for all supported block types and filter integration.
- Use a separate counter for ordered lists so numbering stays sequential when empty items are skipped. - Percent-encode parentheses in link URLs to prevent breaking markdown link syntax.
6a2aa7d to
920dbea
Compare
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.
Proposed changes:
at.markpub.markdown) that walks Gutenberg blocks viaparse_blocks()and converts each to GFM markdown.atmosphere_content_parserfilter.Stacked on #8. Merge that first.
Other information:
Testing instructions:
?atprotopreview on a published post returns valid JSON with acontentfield containingat.markpub.markdowndata.atmosphere_content_parserfilter with__return_nulldisables the content field.npm run env-test— all tests pass.Changelog entry
Changelog Entry Details
Significance
Type
Message
Add rich content support for standard.site documents using the Markpub format.