Thanks for your interest in contributing to Cocoar.Markdown!
- Fork the repository and create a feature branch.
- Requires a recent Xcode (Swift 6 toolchain, iOS 17+ / macOS 14+ SDKs).
- Run the test suite locally before opening a PR.
The :::key{attr=value flag} embed-directive syntax has its NORMATIVE source in
@cocoar/vue-markdown-core (cocoar-ui-vue). This repo is a byte-parity port:
- Behavioral changes start there, as conformance vectors
(
embed-directive.conformance.json), then get ported here. - The vendored vector copy under
Tests/.../Fixtures/may only change viaScripts/sync-vectors.sh. See CONFORMANCE.md.
- Run all tests with
swift testfrom the repository root. - The demo app builds via
cd Demo && xcodegen generate && xcodebuild -scheme CocoarMarkdownDemo. - Add tests for new features and bug fixes; parser changes need conformance vectors.
- Prefer small, focused PRs; reference related issues.
- Use conventional commit messages (feat:, fix:, docs:, test:, etc.).
By contributing, you agree that your contributions will be licensed under the Apache License 2.0.