Skip to content

fix: enable inline parsing of content with marked v13+#366

Open
jayree wants to merge 1 commit intomikaelbr:masterfrom
jayree:fix/list-item-formatting-marked-v13
Open

fix: enable inline parsing of content with marked v13+#366
jayree wants to merge 1 commit intomikaelbr:masterfrom
jayree:fix/list-item-formatting-marked-v13

Conversation

@jayree
Copy link

@jayree jayree commented Apr 3, 2025

fixes #304

@mikaelbr

bolinfest added a commit to openai/codex that referenced this pull request May 13, 2025
This PR uses [`pnpm
patch`](https://www.petermekhaeil.com/til/pnpm-patch/) to pull in the
following proposed fixes for `marked-terminal`:

* mikaelbr/marked-terminal#366
* mikaelbr/marked-terminal#367

This adds a substantial test to `codex-cli/tests/markdown.test.tsx` to
verify the new behavior.

Note that one of the tests shows two citations being split across a line
even though the rendered version would fit comfortably on one line.
Changing this likely requires a subtle fix to `marked-terminal` to
account for "rendered length" when determining line breaks.
agentydragon pushed a commit to agentydragon/codex that referenced this pull request Jun 26, 2025
This PR uses [`pnpm
patch`](https://www.petermekhaeil.com/til/pnpm-patch/) to pull in the
following proposed fixes for `marked-terminal`:

* mikaelbr/marked-terminal#366
* mikaelbr/marked-terminal#367

This adds a substantial test to `codex-cli/tests/markdown.test.tsx` to
verify the new behavior.

Note that one of the tests shows two citations being split across a line
even though the rendered version would fit comfortably on one line.
Changing this likely requires a subtle fix to `marked-terminal` to
account for "rendered length" when determining line breaks.
buihongduc132 pushed a commit to buihongduc132/codex that referenced this pull request Sep 9, 2025
This PR uses [`pnpm
patch`](https://www.petermekhaeil.com/til/pnpm-patch/) to pull in the
following proposed fixes for `marked-terminal`:

* mikaelbr/marked-terminal#366
* mikaelbr/marked-terminal#367

This adds a substantial test to `codex-cli/tests/markdown.test.tsx` to
verify the new behavior.

Note that one of the tests shows two citations being split across a line
even though the rendered version would fit comfortably on one line.
Changing this likely requires a subtle fix to `marked-terminal` to
account for "rendered length" when determining line breaks.
@UziTech
Copy link
Contributor

UziTech commented Oct 7, 2025

@mikaelbr can we get this merged?

hyperz111 added a commit to hyperz111/marked-terminal that referenced this pull request Dec 2, 2025
boatri added a commit to boatri/linear-agent that referenced this pull request Feb 15, 2026
marked-terminal breaks bold/code rendering inside list items with
marked v13+. Pin to v11 until the upstream fix lands.

Tracking: mikaelbr/marked-terminal#366

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Content inside list items no longer being formatted with marked v13

2 participants