Skip to content

Conversation

@DongyuZhao
Copy link
Owner

@DongyuZhao DongyuZhao commented Jul 20, 2025

Summary

  • implement basic builders for Markdown parsing
  • add heading, paragraph, newline, reference and footnote logic
  • add inline parser to handle emphasis, links, images and inline HTML
  • integrate builders in MarkdownLanguage
  • add tests for reference and footnote parsing

Testing

  • swift build
  • swift test

https://chatgpt.com/codex/tasks/task_e_687d208e808c8322840c20dda28483dd

@DongyuZhao DongyuZhao merged commit 02caaae into user/donz/refactor Jul 20, 2025
DongyuZhao added a commit that referenced this pull request Jul 21, 2025
* Refactor to token based consumer

* Implement emphasis parsing (#44)

* Update parser to allow flex token consuming

* Add Markdown inline parsing features (#45)

* Add basic Markdown parsing builders

* Improve emphasis parsing

* Fix parser loop and add blockquote builder

* Fix token parsing and update tests

* Add block element support (#46)

* Add CommonMark block elements and GFM extensions

* Update feature list and roadmap

* Remove duplicated roadmap entry

* Add definition lists and admonition support

* Extract language from fenced code blocks (#47)

* Fix test names and update markdown docs (#48)

* chore: update test naming and docs

* Fix warnings, rename tests directory, add comprehensive builder tests

* Extend all-features test with links and autolink

* Separate admonitions from custom containers (#49)

* Tokenize custom container block (#50)

* Update MARKDOWN_PARSER.md

* Update MARKDOWN_PARSER.md

---------

Co-authored-by: Dongyu Zhao <donz@DONZ-WORK-MBP.local>
@DongyuZhao DongyuZhao deleted the codex/common-mark branch August 7, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants