TanStack / TanStack/tanstack.com
Collapsible `+/-` callout syntax lost during Markdown migration
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 401
- Avg merge
- 18h 14m
- Merged PRs (30d)
- 56
Description
Before migrating to TanStack Markdown, the website made use of rehype-callouts. Since they're implementing Obsidian Markdown syntax, it allowed for collapsible callouts using either + or - right after the callout type:
> [!TIP]- Title
> Folded content. - means default collapsed, + means default expanded.
However, when TanStack Markdown was introduced, it changed how callouts are parsed. This now causes documentation sites using that feature to have broken callouts:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with packages/markdown/src/extensions/callouts.ts at the linked parser implementation, then inspect the Form installation callout. Compare the documented Obsidian + and - syntax with the current parsing behavior; done means both markers preserve their default expanded or collapsed state on the documentation site.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown, typescript
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100