Add a function to render inline nodes
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 2k
- Forks
- 691
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 1
Description
Currently, if children of the DOCUMENT node are inline nodes (e. g. TEXT), they don't get rendered. Is there a way to render a bunch of inline nodes with cmark (without wrapping them into a paragraph – I don't want a <p> tag)? Or is it guaranteed that rendering inline nodes one by one and concatenating them would produce the same result as rendering them all together (and so such a function wouldn't be needed)?
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 by reviewing cmark's existing document and inline-node rendering behavior, especially how the renderer handles DOCUMENT children. Determine whether a public function should render a group of inline nodes without a paragraph wrapper, and define completion by matching the expected combined rendering semantics without introducing a
tag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100