vnotex / vnotex/vnote

latex 使用\\无法换行

Open
#1,785 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

upstream_bug
Dominant language
C++
Stars
13k
Forks
1.3k
Avg merge
14h 3m
Merged PRs (30d)
3

Description

Describe the bug
latex语法里面\\可以用来换行,vnote行内模式和行间模式都没有渲染出换行的效果。

To Reproduce
Steps to reproduce the behavior:

$$
sinx \\
cosx
$$

Expected behavior

Screenshots
下面分别是vnote3.2,typora和vscode的截图
image
屏幕截图 2021-06-07 114934
image

Desktop (please complete the following information):

  • OS: win10
  • Version 3.2.0

Additional context

Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in VNote 3.2.0 using the provided display-math snippet, and compare inline and block rendering with the screenshots. Trace the existing LaTeX rendering entry point; done when \\ produces a visible line break in both modes without regressing other math rendering.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.