Implement initial LMD Core parser#1
Merged
Merged
Conversation
…) and error handling to parse()
- Rewrite extract.ts: replace @std/front-matter calls with internal _splitFrontMatter logic matching Python impl, add trailing \n normalization on frontMatter - Create errors.ts: LinkedMarkdownError class with code + cause, LMD_NO_FRONTMATTER and LMD_INVALID_FRONTMATTER constants - Delete parse.ts and parse.test.ts (superseded by extract.ts) - Update conformance_test.ts: use class-based error code assertion - Update README: document extract API, error codes, test commands - Advance spec submodule to conformance fixtures commit Reference: https://gist.github.com/EthanThatOneKid/aba5d6ab9571ab158969d1509ee8c7a8
3 tasks
Adds a release workflow that publishes to JSR on v* tags. Triggers deno check + tests before publishing.
Matches the recommended JSR pattern — no Deno setup needed, publishes on push to default branch (JSR deduplicates by version).
Both repos now publish on v* tags via their respective release workflows. Same workflow name (Release), same trigger pattern.
…d = format = markers
Both repos now pinned to same spec commit e4350ee.
…onformance suite Deleted src/extract.test.ts — all 13 extract() tests were 1:1 covered by the conformance suite (which tests richer fixtures). Kept only the LinkedMarkdownError class property test (code/cause/name), moved to test/conformance_test.ts.
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.
Summary
Tests