Feature request: Markdown-style paragraphs
Open
Nobody has claimed this yet.
feature
- Dominant language
- TypeScript
- Stars
- 245
- Forks
- 80
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 2
Description
Based on an off-line discussion, I thought that
<emu-clause>
<h1>Foo</h1>
Bar
Baz
</emu-clause>
might at some point result in <p> tags around Bar and Baz. Instead, it seems that, as of v2.0.3, while the parser doesn't complain (an improvement!), it just passes the whitespace through as-is, without creating paragraphs.
Contributor guide
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 at the parser entry point that handles and inspect how whitespace and blank lines are processed. The change is complete when prose separated by blank lines, such as Bar and Baz in the example, produces separate
elements without parser errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100