feat: add responsive breakpoints, state syntax, and annotations support. issues: #49 #50 #51 # 52#71
Open
taranais wants to merge 2 commits into
Open
Conversation
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.
Pull Request
Description
This PR delivers the planned syntax enhancements for wiremd, including:
It includes parser/AST updates, renderer integration (HTML/JSON/React/Tailwind), CLI flags, tests, documentation, and new examples with generated outputs.
Type of Change
Related Issues
Changes Made
.md:grid-*,.sm:grid-*) and viewport blocks (::: mobile,::: desktop).{:hover},{:active},{:focus},{:disabled},{:loading},{:error},{:success},{:warning}) plus::: state=...blocks..annotation,todo,version-note)::: noteblocks--show-annotationsrendering mode{{user.name}},{{user.email}},{{lorem:N}},{{image:WxH}},{{date}},{{number:min-max}}--seed/placeholderSeed--no-placeholders/resolvePlaceholders: falseTesting
Test Coverage
npm test)Manual Testing
--no-placeholdersand verified placeholders remain literal.Examples
Input
Output
Checklist
Breaking Changes
Migration Guide
Screenshots/Recordings
N/A (new rendered example outputs are included in
examples/).Performance Impact
Documentation
Additional Notes
npm run typechecknpm run testnpm run buildstrict: true).Reviewer Checklist