quarto-dev / quarto-dev/quarto
visual editor moves letters onto new line when footnotes are in bullet points of revealjs slide
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 645
- Forks
- 62
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 13
Description
Bug description
Sorry for the long title, but this one is so weird to describe. In a revealjs document, with cannonical markdown used, when a slide has more than one bullet point and the last bullet has more than 1 footote, the last number-of-footnotes minus 1 letters of the last word of the bullet point get moved to a new line when the document is saved.
Steps to reproduce
Save this document...
---
title: "Untitled"
format: revealjs
editor:
markdown:
canonical: true
---
## Slide title
- A bullet point
- Some text with footnotes[^1], and other footnotes[^2], a third one [^3], and A final word
[^1]: test
[^2]: test
[^3]: test
And you'll get this:
---
title: "Untitled"
format: revealjs
editor:
markdown:
canonical: true
---
## Slide title
- A bullet point
- Some text with footnotes[^1], and other footnotes[^2], a third one [^3], and A final wo
rd
[^1]: test
[^2]: test
[^3]: test
Expected behavior
Cannonical markdown/visual editor should not split part of a word onto a new line
Actual behavior
Last word gets split with some letters moved onto new line
Your environment
- RStudio: 2024.04.2+764
- OS: macOS 14.6.1
Quarto check output
Quarto 1.4.554
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.4.554
Path: /Applications/quarto/bin
[✓] Checking tools....................OK
TinyTeX: v2024.03.13
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /Users/ericscott/Library/TinyTeX/bin/universal-darwin
Version: 2024
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.10.9 (Conda)
Path: /usr/local/Caskroom/miniconda/base/bin/python
Jupyter: 5.3.0
Kernels: python3
(\) Checking Jupyter engine render....Traceback (most recent call last):
File "/Applications/quarto/share/jupyter/jupyter.py", line 21, in <module>
from notebook import notebook_execute, RestartKernel
File "/Applications/quarto/share/jupyter/notebook.py", line 14, in <module>
from yaml import safe_load
ModuleNotFoundError: No module named 'yaml'
[✓] Checking Jupyter engine render....OK
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 reproducing the supplied .qmd example in Quarto's visual editor with canonical markdown enabled and revealjs output, then trace the save path that rewrites the final bullet. Done means saving the document no longer moves letters from a word onto a new line; verify the original and multi-footnote variants.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown, typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100