I've started out writing out a book and swap relatively frequently between the source and visual editors. However, currently the citations don't seem to be processing correctly in visual editor. Here is my workflow:

Image 1 is what I have currently written in source:

![Pic 1](https://user-images.githubusercontent.com/69664059/161872933-01c62410-b821-4377-8d1a-4958dc014b38.PNG)

This renders correctly as seen in Image 2:

![Pic 2](https://user-images.githubusercontent.com/69664059/161872971-42edf411-6837-46ef-a635-1c87468211bb.PNG)

I swap to the visual editor and see this:

![Pic 3](https://user-images.githubusercontent.com/69664059/161873007-d0b1fd47-6d42-4d42-b28b-4cb9239625de.PNG)

And then when I swap back to the source editor it has reformatted it as seen here:

![Pic 4](https://user-images.githubusercontent.com/69664059/161873041-faacaf89-3fc0-4843-9f31-bfbf2e05bef7.PNG)

So then all the citations don't work on rendering because of the different backslashes.

Any ideas on what I should be doing in my workflow to prevent this from occuring?



2022-04-06T00:39:14Z
tim-newans
closed
Swapping between Source and Visual Editor breaks citations
https://github.com/quarto-dev/quarto-cli/issues/543