Latex blocks should work even when not preceded by empty line
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 13k
- Forks
- 1.3k
- Avg merge
- 14h 3m
- Merged PRs (30d)
- 3
Description
OS Version (操作系统): Windows
VNote Version (Help - About VNote - Version: )(VNote版本): 2.4
Symptoms (表现):
Latex blocks only work when they are preceded by an empty line. This behavior is not consistent with other blocks (e.g. code, table, etc.).
How to Repro (如何复现):
For the following Markdown document:
test
```
test1
```
test
| test2 |
| ----- |
test
$$
test3
$$
$$
test4
$$
"test1" is rendered as a code block, "test2" is rendered as a table, but "test3" is not rendered as a formula block. It works only when preceded by an empty line (e.g. "test4").
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
Use the Markdown document in the issue as the reproduction case and trace the block parsing/rendering path for code, tables, and LaTeX. Confirm that the formula block renders when immediately preceded by text, while the existing empty-line case and other block types continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, latex, markdown
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100