Mathpix / mathpix-markdown-it

Markdown rendering + Latex extras (equations, tables, ...), with conversion features, for the scientific community
MIT License
465 stars 42 forks source link

PR into master from dev/olga/fix-abstract #335

Closed OlgaRedozubova closed 1 week ago

OlgaRedozubova commented 1 week ago

branch: dev/olga/fix-abstract

ERROR=>[mmdToMd]=> TypeError: Cannot read properties of undefined (reading 'length')

This arises due to:

\begin{abstract}
Neck pain is common regional pain syndrome that usually arises from an undefined mechanical or musculoskeletal disturbance.
- It occurs acutely and is associated with marked hypomobility.
- Chronic symptoms are poorly understood.
- Neck pain may be a manifestation of a serious underlying malignant, infectious, or inflammatory disorder.
- It can occur in association with neurologic involvement-myelopathy and radiculopathy.
- No examination or imaging findings are known that can reliably identify the source of neck pain.
- It may be investigated with techniques targeting the pain.
\end{abstract}

This is due to the fact that abstract contains a list of Markdown.