### Bug description

When switching from Source Mode to Visual Mode, Quarto replaces all the footnote identifiers chosen by the user and replaces them with numbers.

The problem is best explained with this video:

[Screencast.webm](https://user-images.githubusercontent.com/101060148/220174374-2613bc7b-c2c7-4668-896c-67638041d81a.webm)

File in the video: [chapter02.md](https://github.com/quarto-dev/quarto-cli/files/10786880/chapter02.md) (GitHub does not allow `qmd` files so I had to change it to `md`)

Quarto CLI version: 1.2.335
VS Code version: 1.75.1
VS Code extension version: 1.68.0
OS: Ubuntu 22.10


### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
2023-02-20T18:08:06Z
magical-heyrovsky
bug
closed
VS Code extension: Switching to Visual Mode replaces footnote identifiers chosen by the user with numbers
https://github.com/quarto-dev/quarto-cli/issues/4439